BthGetPINRequest (Windows CE 5.0)
This function retrieves the address of the Bluetooth peer device authentication that requires the PIN code.
int BthGetPINRequest( BT_ADDR* pbt);
Parameters
- pbt
[in] Pointer to the Bluetooth address.
Return Values
This function returns ERROR_SUCCESS when it completes successfully.
A return value of ERROR_SERVICE_NOT_ACTIVE indicates that the Bluetooth stack is not present.
Other standard error codes may be returned as appropriate.
Remarks
There can be multiple requests outstanding. After the event that is provided by the UI handler is signaled, the UI handler must call this function multiple times until the call fails.
Requirements
OS Versions: Windows CE.NET 4.2 and later.
Header: Bt_api.h.
Link Library: Btdrt.lib.
See Also
Bluetooth OS Functions | Bluetooth Application Development | BthRefusePINRequest
Send Feedback on this topic to the authors