SDP_NODE structure (sdpnode.h)

The SDP_NODE structure holds information about an element in a tree-based representation of an SDP record.

Syntax

typedef struct _SDP_NODE {
  SDP_NODE_HEADER hdr;
  ULONG           DataSize;
  SDP_NODE_DATA   u;
  PVOID           Reserved;
} SDP_NODE, *PSDP_NODE;

Members

hdr

An SDP_NODE_HEADER structure that contains links to peer SDP_NODE structures and the data type of the current node.

DataSize

The size, in bytes, of the SDP_NODE_DATA union held in the u member.

u

An SDP_NODE_DATA union that contains the data associated with the SDP record's node.

Reserved

Reserved for future use. Do not use.

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.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 addresses of other LIST_ENTRY structures, and that the profile drivers 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)

See also

LIST_ENTRY

SDP_NODE_DATA

SDP_NODE_HEADER