// sdplib.h
PSDP_NODE SdpCreateNodeAlternative(
[in] ULONG tag
);
View the official Windows Driver Kit DDI referenceNo description available.
The Bluetooth SdpCreateNodeAlternative function is used to create an empty alternative sequence SDP node.
tag [in]A profile driver defined tag to associate with the node.
If successful, this function returns a pointer to the newly allocated SDP_NODE structure. If not successful, this function returns NULL.
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.