Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates the content type of a PERF_COUNTER_HEADER block that the PerfQueryCounterData function includes as part of the PERF_DATA_HEADER block that the function produces as output.
Syntax
typedef enum _PerfCounterDataType {
  PERF_ERROR_RETURN = 0,
  PERF_SINGLE_COUNTER = 1,
  PERF_MULTIPLE_COUNTERS = 2,
  PERF_MULTIPLE_INSTANCES = 4,
  PERF_COUNTERSET
} PerfCounterDataType;
Constants
| PERF_ERROR_RETURNValue: 0 An error occurred when the performance counter value was queried. | 
| PERF_SINGLE_COUNTERValue: 1 The query returned a single counter from a single instance. | 
| PERF_MULTIPLE_COUNTERSValue: 2 The query returned multiple counters from a single instance. | 
| PERF_MULTIPLE_INSTANCESValue: 4 The query returned a single counter from each of multiple instances. | 
| PERF_COUNTERSETThe query returned multiple counters from each of multiple instances. | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 10, version 1607 [desktop apps only] | 
| Minimum supported server | Windows Server 2016 [desktop apps only] | 
| Header | perflib.h |