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 { // pcd 
    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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winperf.h.

See Also

Performance Data Helper Overview, Performance Data Structures, PERF_OBJECT_TYPE, RegQueryValueEx