SdpAddAttributeToTree - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sdplib.h

NTSTATUS SdpAddAttributeToTree(
       PSDP_TREE_ROOT_NODE        Tree,
  [in] USHORT                     AttribId,
       __drv_aliasesMem PSDP_NODE AttribValue,
  [in] ULONG                      tag
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-sdplib-sdpaddattributetotree)

SdpAddAttributeToTree function

Description

The Bluetooth SdpAddAttributeToTree function is used to attach an SDP attribute node to the top level of an SDP record.

Parameters

Tree

The top level of the SDP record to which the SdpAddAttributeToTree function attaches the SDP attribute node.

AttribId [in]

The identifier of the attribute to attach.

AttribValue

Pointer to the SDP node to be added as an attribute.

tag [in]

Specifies a 4-byte pool tag that uniquely identifies the driver that does the memory allocation. For more information about pool tags, see ExAllocatePoolWithTag.

Return value

Possible return values include:

Remarks

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

For more information about the tree structure, see Converting SDP Records to a Tree Structure.

See also

BTHDDI_SDP_NODE_INTERFACE