Partager via


BthGetPINRequest

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 Platform Development Functions | Bluetooth | BthRefusePINRequest

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.