Edit

PS_COMPONENT_STATS structure (ntddpsch.h)

The PS_COMPONENT_STATS structure enables applications to get statistical information regarding their TC-enabled flow. This structure obtains information from GUID_QOS_STATISTICS_BUFFER GUID. This GUID actually is an array of PS_COMPONENT_STATS, with each element of that array (each PS_COMPONENT_STATS structure) containing one of the five PS_* structure types explained subsequently.

Syntax

typedef struct _PS_COMPONENT_STATS {
  ULONG Type;
  ULONG Length;
  UCHAR Stats[1];
} PS_COMPONENT_STATS, *PPS_COMPONENT_STATS;

Members

Type

Indicates the type of PS_* structure contained in the Stats member.

This member must contain one of the following values.

Value Meaning
PS_ADAPTER_STATS (1)
Stats is a pointer to a PS_ADAPTER_STATS structure.
PS_FLOW_STATS (2)
Stats is a pointer to a PS_FLOW_STATS structure.
PS_CONFORMER_STATS (3)
Stats is a pointer to a PS_CONFORMER_STATS structure.
PS_SHAPER_STATS (4)
Stats is a pointer to a PS_SHAPER_STATS structure.
PS_DRRSEQ_STATS (5)
Stats is a pointer to a PS_DRRSEQ_STATS structure.

Length

Length of the Stats member, in bytes.

Stats[1]

Array of structures of the type indicated in the Type member.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header ntddpsch.h

See also

FLOWSPEC

PS_ADAPTER_STATS

PS_CONFORMER_STATS

PS_DRRSEQ_STATS

PS_FLOW_STATS

PS_SHAPER_STATS