次の方法で共有


BthSSPGetRemoteOOBData (Compact 2013)

3/26/2014

This function retrieves the out-of-band (OOB) data established for the specified remote device in the most recent call to BthSSPSetRemoteOOBData.

Syntax

DWORD BthSSPGetRemoteOOBData(
    __in const BT_ADDR *RemoteDevice,
    __out BTSSPOOBData *pData
);

Parameters

  • RemoteDevice
    [in] Pointer to a BT_ADDR structure that identifies the desired remote device.
  • pData
    [out] Pointer to a BTSSPOOBData structure which, on return, contains the requested OOB data.

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.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API SSP Functions
BthSSPReadLocalOOBData