DeviceInfo Event
Fired once for each device found when calling ListDevices.
Syntax
ANSI (Cross Platform) virtual int FireDeviceInfo(BTInfoDeviceInfoEventParams *e);
typedef struct {
const char *Name;
const char *Address;
const char *ClassOfDevice;
int Connected;
int Remembered;
int Authenticated; int reserved; } BTInfoDeviceInfoEventParams; Unicode (Windows) virtual INT FireDeviceInfo(BTInfoDeviceInfoEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR Address;
LPCWSTR ClassOfDevice;
BOOL Connected;
BOOL Remembered;
BOOL Authenticated; INT reserved; } BTInfoDeviceInfoEventParams;
#define EID_BTINFO_DEVICEINFO 2 virtual INT IPWORKSBT_CALL FireDeviceInfo(LPSTR &lpszName, LPSTR &lpszAddress, LPSTR &lpszClassOfDevice, BOOL &bConnected, BOOL &bRemembered, BOOL &bAuthenticated);
Remarks
This event fires once for each device found when calling ListDevices.
Name is the device name.
Address is the device address.
ClassOfDevices is the class of the device.
Connected indicates whether the device is connected.
Remembered indicates whether the device is remembered.
Authenticated indicates whether the device is authenticated.