SdpAppendNodeToContainerNode function (sdplib.h)

The Bluetooth SdpAppendNodeToContainerNode function is used to attach an SDP node to a sequence or alternative SDP node.

Syntax

NTSTATUS SdpAppendNodeToContainerNode(
  [in] PSDP_NODE                  Parent,
       __drv_aliasesMem PSDP_NODE Node
);

Parameters

[in] Parent

The SDP sequence or alternative node to which the SdpAppendNodeToContainerNode function adds the child node.

Node

The SDP node to add to the parent node.

Return value

Possible return values include:

Remarks

Use the SdpAppendNodeToContainerNode function to insert any type of SDP_NODE into a sequence or alternative node, including other sequences.

Do not use this function to attach attribute nodes to the top level of an SDP record. Call the SdpAddAttributeToTree function to perform that action. For more information about the tree structure, see Converting SDP Records to a Tree Structure.

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

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_NODE_INTERFACE

SDP_NODE

SdpAddAttributeToTree