ServiceProtocol Property
The protocol used by the service.
Syntax
ANSI (Cross Platform) char* GetServiceProtocol();
int SetServiceProtocol(const char* lpszServiceProtocol); Unicode (Windows) LPWSTR GetServiceProtocol();
INT SetServiceProtocol(LPCWSTR lpszServiceProtocol);
#define PID_BTINFO_SERVICEPROTOCOL 28 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
""
Remarks
This property specifies the protocol used by the service. Possible values are "RFCOMM" and "L2CAP".
This property is not available at design time.
Data Type
String