User's Manual

Table Of Contents
Function interface of device driver Kemro UserID classic / eco
72 User's Manual, Version: 1.01
© KEBA 2008
9.5.2 Read out list of currently connected Kemro UserID modules
DWORD rfidGetDeviceList (TRfidDeviceName rsDeviceName[], DWORD *
pdwCount)
Parameter Description
rsDeviceName
String list in which the automatically generated symbolic
names of the Kemro UserID modules are written
pdwCount In
Length of string list
Out: Number of entered RFID modules
This function lists all Kemro UserID modules found (independent of con-
nection, USB or RS232). The symbolic names specified are generated
automatically and can continue to be used to open a Kemro UserID
module with rfidOpenDevice, to control LEDs or to read or modify the
settings of the module.
Return
Value Description
0
If everything is OK, otherwise descriptive error code
9.5.3 Opening a connection to a Kemro UserID module
DWORD rfidOpenDevice (const TRfidDeviceName sDeviceName, HANDLE *
phDevice)
Parameter Description
sDeviceName
Symbolic name of Kemro UserID module to be opened
phDevice
Pointer on the Handle of the opened Kemro UserID mod-
ule
This function opens the data connection to a Kemro UserID module and
supplies a Handle with which the data of the Kemro UserID module can
continue to be accessed.
Return:
Value Description
0
If everything is OK, otherwise descriptive error code
9.5.4 Closing a connection to an opened Kemro UserID module
void rfidCloseDevice (HANDLE hDevice)
Parameter Description
hDevice
Name of the opened Kemro UserID module