Platform SDK: Performance Monitoring

PERF_COUNTER_BLOCK

The PERF_COUNTER_BLOCK structure contains the length, in bytes, of the performance-counter data. This structure is followed by data for the number of counters specified in the PERF_OBJECT_TYPE structure.

typedef struct _PERF_COUNTER_BLOCK { 
  DWORD ByteLength; 
} PERF_COUNTER_BLOCK; 

Members

ByteLength
Specifies the length, in bytes, of this structure, including the counters that follow.

Remarks

This structure is part of the performance data provided by the RegQueryValueEx function when the HKEY_PERFORMANCE_DATA key is used.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Header: Declared in Winperf.h; include Windows.h.

See Also

PERF_OBJECT_TYPE, RegQueryValueEx