PerfCounterDataType enumeration (perflib.h)
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_RETURN Value: 0 An error occurred when the performance counter value was queried. |
PERF_SINGLE_COUNTER Value: 1 The query returned a single counter from a single instance. |
PERF_MULTIPLE_COUNTERS Value: 2 The query returned multiple counters from a single instance. |
PERF_MULTIPLE_INSTANCES Value: 4 The query returned a single counter from each of multiple instances. |
PERF_COUNTERSET The 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 |