// sdpnode.h
typedef struct _SDP_NODE_HEADER {
LIST_ENTRY Link;
USHORT Type;
USHORT SpecificType;
} SDP_NODE_HEADER, *PSDP_NODE_HEADER;
View the official Windows Driver Kit DDI referenceNo description available.
The SDP_NODE_HEADER structure holds information about an element in a tree-based representation of an SDP record.
LinkA linked-list structure that is used to link peer SDP record nodes when this structure is part of an SDP_NODE structure. This member is used to link the first child of the node when the header is u.sequence or u.alternative part of the individual SDP_NODE structure.
TypeThe data type of the SDP_NODE_DATA union held in the u member of the SDP_NODE structure.
SpecificTypeExtra information about the data type associated with the SDP_NODE_DATA union that is associated with the SDP record element.
Each SDP_NODE structure in the tree representation of an SDP record contains a SDP_NODE_HEADER structure and an SDP_NODE_DATA union.
The header specifies the type of data. Driver developers can access links to peer SDP_NODE structures
by calling the
LIST_ENTRY structure of the header. By evaluating
Node.hdr.Link.Flinkand
Node.hdr.Link.Blink, drivers can obtain the addresses of peer
nodes in the tree. Keep in mind that
LIST_ENTRY pointers contain the address of other LIST_ENTRY structures, and that the profile driver
must use the
CONTAINING_RECORD memory manager macro to
extract the address of the containing node record.