IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

DeviceCount Property

The number of bluetooth devices.

Syntax

ANSI (Cross Platform)
int GetDeviceCount();

Unicode (Windows)
INT GetDeviceCount();
#define PID_BTINFO_DEVICECOUNT 5

IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_BTInfo_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

0

Remarks

This property holds the number of devices found after calling ListDevices.

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:

This property is read-only.

Data Type

Integer

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