SdpFindAttributeInTree function (sdplib.h)

The Bluetooth SdpFindAttributeInTree function is used to locate the specified attribute node in the tree-based representation of an SDP record.

Syntax

NTSTATUS SdpFindAttributeInTree(
  [in] PSDP_TREE_ROOT_NODE Tree,
  [in] USHORT              AttribId,
       PSDP_NODE           *Attribute
);

Parameters

[in] Tree

The root node of the tree-based representation of the SDP record to search.

[in] AttribId

The identifier of the attribute node to locate.

Attribute

A pointer to a variable that receives the address of the located attribute node.

Return value

Possible return values include:

Remarks

The SdpFindAttributeInTree function returns the address of the requested node in the tree; it does not perform a copy. This node pointer is valid until the SDP tree that it references is freed.

Bluetooth profile drivers can obtain a pointer to this function through the BTHDDI_SDP_PARSE_INTERFACE structure.

Requirements

Requirement Value
Minimum supported client Versions:_Supported in Windows Vista, and later.
Target Platform Desktop
Header sdplib.h (include BthSdpddi.h)
IRQL <= PASSIVE_LEVEL

See also

BTHDDI_SDP_PARSE_INTERFACE