PERF_COUNTERSET_REG_INFO structure (perflib.h)
Contains information about the PERF_COUNTERSET_REG_INFO block that contains the structure. A PERF_COUNTERSET_REG_INFO block provides registration information for a counter set and the performance counters it contains, and consists of a PERF_COUNTERSET_REG_INFO structure immediately followed by a set PERF_COUNTER_REG_INFO structures that correspond to the performance counters in the counter set.
Syntax
typedef struct _PERF_COUNTERSET_REG_INFO {
GUID CounterSetGuid;
ULONG CounterSetType;
ULONG DetailLevel;
ULONG NumCounters;
ULONG InstanceType;
} PERF_COUNTERSET_REG_INFO, *PPERF_COUNTERSET_REG_INFO;
Members
CounterSetGuid
The unique identifier for the counter set.
CounterSetType
Reserved.
DetailLevel
The target audience for the counters in the counter set.
The possible values are:
Value | Meaning |
---|---|
|
You can display the counter to any level of user. |
|
The counter is complicated and should be displayed only to advanced users. |
NumCounters
The number of PERF_COUNTER_REG_INFO structures in this PERF_COUNTERSET_REG_INFO block.
InstanceType
Specifies whether the counter set allows multiple instances such as processes and physical disks, or a single instance such as memory.
The following are the possible instance types.
Remarks
The PerfQueryCounterSetRegistrationInfo function called with the requestCode parameter set to PERF_REG_COUNTERSET_STRUCT gets a PERF_COUNTERSET_REG_INFO block.
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 |