SdpCreateNodeAlternative function (sdplib.h)
The Bluetooth SdpCreateNodeAlternative function is used to create an empty alternative sequence SDP node.
Syntax
PSDP_NODE SdpCreateNodeAlternative(
[in] ULONG tag
);
Parameters
[in] tag
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.
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 |