Bewerken

Delen via


SdpCreateNodeSequence function (sdplib.h)

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

Syntax

PSDP_NODE SdpCreateNodeSequence(
  [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 a sequence node is created by calling the SdpCreateNodeSequence function, Bluetooth drivers can call the SdpAppendNodeToContainerNode function to insert other nodes into the sequence node or to add the new sequence node to another sequence node.

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

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

SDP_NODE

SdpAddAttributeToTree

SdpAppendNodeToContainerNode