IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

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:

Data Type

Integer

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Bluetooth 2020 C++ Edition - Version 20.0 [Build 7941]