DeviceIndex Property
Sets the current device.
Syntax
ANSI (Cross Platform) int GetDeviceIndex();
int SetDeviceIndex(int iDeviceIndex); Unicode (Windows) INT GetDeviceIndex();
INT SetDeviceIndex(INT iDeviceIndex);
#define PID_BTINFO_DEVICEINDEX 6 IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_BTInfo_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTInfo_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
-1
Remarks
This property selects a specific device.
To find details for each device set DeviceIndex to select a device. Valid values for DeviceIndex are from 0 to DeviceCount -1.
After setting DeviceIndex the following properties will be populated with information about the device:
- DeviceAddress
- DeviceAuthenticated
- DeviceClassOfDevice
- DeviceConnected
- DeviceLastSeen
- DeviceLastUsed
- DeviceName
- DeviceRemembered
Data Type
Integer