SdpCreateNodeAlternative - NtDoc

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

PSDP_NODE SdpCreateNodeAlternative(
  [in] ULONG tag
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

SdpCreateNodeAlternative function

Description

The Bluetooth SdpCreateNodeAlternative function is used to create an empty alternative sequence SDP node.

Parameters

tag [in]

A profile driver defined tag to associate with the node.

Return value

If successful, this function returns a pointer to the newly allocated SDP_NODE structure. If not successful, this function returns NULL.

Remarks

After an alternative sequence node is created by calling the SdpCreateNodeAlternative function, Bluetooth drivers can call the SdpAppendNodeToContainerNode function to insert other nodes into the alternative sequence node or to add the new alternative sequence node to another alternative sequence node.

An alternative sequence node can be added as a top-level attribute of an SDP record by calling the SdpAddAttributeToTree function.

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

See also

BTHDDI_SDP_NODE_INTERFACE

SDP_NODE

SdpAddAttributeToTree

SdpAppendNodeToContainerNode