Specifications
15.4. Device Information Acquisition
BHT_GetDeviceInfo
Description
Acquires the mounted device information.
Syntax
DWORD BHT_GetDeviceInfo(
DWORD dwDevice,
DWORD* pdwDevInfo,
LPVOID pvExtInfo )
Parameters
dwDevice
[in] Type of the device for which information is being acquired
pdwDevInfo
[out] Device information storage location
pdwDevInfo
[out] Extension information storage location
Return Value
Error Code Meaning
ERROR_SUCCESS Successful completion
ERROR_INVALID_PARAMETER Parameter error
Device Type dwDevice *pdwDevInfo
Read device BHT_DEV_SCANNER Either of the following :
SCANNER_1DIM :1D
SCANNER_2DIM :2D
Communication device BHT_DEV_COM The following combinations:
COMDEV_SERIAL :RS-232C
COMDEV_INFRARED :Infrared Port
COMDEV_USB :USB
COMDEV_RF :Wireless
COMDEV_BLUETOOTH
:Bluetooth
COMDEV_GPRS :GPRS
ActiveSync device BHT_DEV_ACTSYNC The following combinations:
ACTSYNC_SERIAL :RS-232C
ACTSYNC_INFRARED
:Infrared Port
ACTSYNC_USB :USB
ACTSYNC_RF :Wireless
57










