SDP_NODE_HEADER structure (sdpnode.h)
The SDP_NODE_HEADER structure holds information about an element in a tree-based representation of an SDP record.
Syntax
typedef struct _SDP_NODE_HEADER {
LIST_ENTRY Link;
USHORT Type;
USHORT SpecificType;
} SDP_NODE_HEADER, *PSDP_NODE_HEADER;
Members
Link
A 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.
Type
The data type of the SDP_NODE_DATA union held in the u member of the SDP_NODE structure.
SpecificType
Extra information about the data type associated with the SDP_NODE_DATA union that is associated with the SDP record element.
Remarks
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.Flink
and
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Versions:_Supported in Windows Vista, and later. |
Header | sdpnode.h (include Sdpnode.h) |