次の方法で共有


BthGetPINRequest (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the address of the Bluetooth peer device authentication that requires the PIN code.

Syntax

int BthGetPINRequest(
  BT_ADDR* pbt
);

Parameters

  • pbt
    [in] Pointer to the Bluetooth address.

Return Value

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

Header bt_api.h
Library Btdrt.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Bluetooth OS Functions
BthRefusePINRequest

Other Resources

Bluetooth Application Development