PFN_BthServiceRequestCallback (Compact 2013)
3/26/2014
Implement this function to handle requests to connect or disconnect your service.
Syntax
typedef void (*PFN_BthServiceRequestCallback) (
BT_ADDR* pbtAddr,
GUID* pServiceUuid,
BOOL fConnect
);
Parameters
- pbtAddr
[in] The address of the remote device.
- pServiceUuid
[in] Identifies the service.
- fConnect
[in] TRUE indicates this is a connect request. FALSE indicates this is a disconnect request.
Return Value
None.
Remarks
When you implement this function register it by using the BthSetServiceCallback function.