WERMA SIGNALTECHNIK
Version 1.2.0 - 0911
18
6.3.2.5
GetDeviceLocation
int GetDeviceLocation ( [in] int DevIdx, [out] int * Loc)
GetDeviceLoation
gets the Location ID of the USB port, where the device is connected.
The Location ID is unique and can be used to distinguish between various devices
currently installed in the system.*
Parameters
DevIdx
Index to the desire device currently available in the system. The first index is 1.
Loc
Pointer to a variable that will contain the Location ID of the USB-Port.
Return Value
1 if successful, otherwise the return value is -1.
* Please note that Linux, Mac OS X and Windows CE do not support location IDs
6.3.2.6
GetFirmwareVersion
int GetFirmwareVersion ( [in] int DevIdx, [out] int * Major, [out] int * Minor, [out] int * Build)
GetFirmwareVersion
gets the specified device firmware version.
Parameters
DevIdx
Index to the desire device currently available in the system. The first index is 1.
Major
Pointer to a variable that will contain the device major firmware version value.
Minor
Pointer to a variable that will contain the device minor firmware version value.
Build
Pointer to a variable that will contain the device build firmware version value.
Return Value
1 if successful, otherwise the return value is -1.
Содержание KombiSIGN 71
Страница 2: ......