Export (0) Print
Expand All

BluetoothSdpGetElementData function

The BluetoothSdpGetElementData function retrieves and parses a single element from an SDP stream.

Syntax


DWORD BluetoothSdpGetElementData(
  _In_   LPBYTE pSdpStream,
  _In_   ULONG cbSpdStreamLength,
  _Out_  PSDP_ELEMENT_DATA pData
);

Parameters

pSdpStream [in]

A pointer to a valid SDP stream.

cbSpdStreamLength [in]

The length, in bytes, of pSdpStream.

pData [out]

A pointer to a buffer to be filled with the data of the SDP element found at the beginning of the pSdpStream SDP stream.

Return value

Returns ERROR_SUCCESS when the SDP element is parsed correctly. Returns ERROR_INVALID_PARAMETER if one of the required parameters is NULL, or if the SDP stream pointed to by pSdpStream is not valid.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

None supported

Header

BluetoothAPIs.h (include Bthsdpdef.h or BluetoothAPIs.h)

Library

Bthprops.lib

DLL

Bthprops.dll

See also

BluetoothSdpEnumAttributes
BluetoothSdpGetContainerElementData
BluetoothSdpGetString
SDP_ELEMENT_DATA
SDP_STRING_TYPE_DATA

 

 

Community Additions

ADD
Show:
© 2014 Microsoft