// sdplib.h
NTSTATUS SdpFindAttributeInTree(
[in] PSDP_TREE_ROOT_NODE Tree,
[in] USHORT AttribId,
PSDP_NODE *Attribute
);
View the official Windows Driver Kit DDI referenceNo description available.
The Bluetooth SdpFindAttributeInTree function is used to locate the specified attribute node in the tree-based representation of an SDP record.
Tree [in]The root node of the tree-based representation of the SDP record to search.
AttribId [in]The identifier of the attribute node to locate.
AttributeA pointer to a variable that receives the address of the located attribute node.
Possible return values include:
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.