| Platform SDK: Quality of Service |
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;
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Ntddpsch.h.