IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

ServiceIndex Property

Sets the current service.

Syntax

ANSI (Cross Platform)
int GetServiceIndex();
int SetServiceIndex(int iServiceIndex); Unicode (Windows) INT GetServiceIndex();
INT SetServiceIndex(INT iServiceIndex);
#define PID_BTINFO_SERVICEINDEX 24

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

When this property is set, the class returns information on the service with an index of ServiceIndex. Valid values are from 0 to ServiceCount - 1.

The following properties will be populated when ServiceIndex is set:

ServiceCount is the number of services located in the remote device.

Data Type

Integer

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