Share via


BthGetPINRequest (Compact 2013)

3/26/2014

This function retrieves the address of the Bluetooth peer device that is requesting the PIN code.

Syntax

int BthGetPINRequest(
  BT_ADDR *pbt
);

Parameters

  • pbt
    [out] Pointer to the Bluetooth address.

Return Value

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_SERVICE_NOT_ACTIVE

The Bluetooth stack is not present.

Other standard HRESULT error codes may be returned as appropriate.

Remarks

There can be multiple requests outstanding. The calling application must call this function multiple times until the call fails to be certain that it has responded to all outstanding PIN requests.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API Security Management Functions
Bluetooth AG Service Functions
BthRefusePINRequest