SDP_TREE_ROOT_NODE - NtDoc

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

typedef struct _SDP_TREE_ROOT_NODE {
  SDP_NODE RootNode;
} SDP_TREE_ROOT_NODE, *PSDP_TREE_ROOT_NODE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-sdpnode-_sdp_tree_root_node)

_SDP_TREE_ROOT_NODE structure

Description

The SDP_TREE_ROOT_NODE structure is the root element of a tree-based representation of an SDP record.

Members

RootNode

An SDP_NODE structure that represents the root node of a tree-based representation of an SDP record.

Remarks

Several SDP functions access or output this structure when they build a tree-based SDP record or convert a raw SDP record stream into a tree-based record.

The SdpAddAttributeToTree function adds an SDP_NODE structure that contains SDP attribute information to an existing SDP_TREE_ROOT_NODE structure.

The SdpConvertStreamToTree function outputs this structure as the root element of an SDP record that it converts from a stream to a tree-based structure.

The SdpConvertTreeToStream function uses an existing SDP_TREE_ROOT_NODE structure as input when it converts a tree-based representation of an SDP record into a stream.

The SdpCreateNodeTree function creates an empty SDP_TREE_ROOT_NODE structure. This is the first step in creating an SDP record as a tree. After the SDP tree is completed, a profile driver that is using SDP to advertise its service can convert the tree into an SDP record stream using the SdpConvertTreeToStream function.

The SdpFindAttributeInTree function searches a populated SDP_TREE_ROOT_NODE structure for an SDP attribute value.

See also

SDP_NODE

SdpAddAttributeToTree

SdpConvertStreamToTree

SdpConvertTreeToStream

SdpCreateNodeTree

SdpFindAttributeInTree