Platform SDK: Quality of Service

PS_COMPONENT_STATS

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.

typedef struct _PS_COMPONENT_STATS 
{

#define PS_COMPONENT_ADAPTER        1
#define PS_COMPONENT_FLOW           2
#define PS_COMPONENT_CONFORMER      3
#define PS_COMPONENT_SHAPER         4
#define PS_COMPONENT_DRRSEQ         5

  ULONG Type;
  ULONG Length;
  UCHAR Stats[1];
} PS_COMPONENT_STATS, *PPS_COMPONENT_STATS;

Members

Type
Indicates one of the following types of PS_* structure contained in the Stats member:
Length
Length of the Stats member, in bytes.
Stats
Array of structures of the type indicated in the Type member.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Ntddpsch.h.