PERF_COUNTERSET_INSTANCE structure (perflib.h)
Defines an instance of a counter set.
Syntax
typedef struct _PERF_COUNTERSET_INSTANCE {
GUID CounterSetGuid;
ULONG dwSize;
ULONG InstanceId;
ULONG InstanceNameOffset;
ULONG InstanceNameSize;
} PERF_COUNTERSET_INSTANCE, *PPERF_COUNTERSET_INSTANCE;
Members
CounterSetGuid
GUID that identifies the counter set to which this instance belongs.
dwSize
Size, in bytes, of the instance block. The instance block contains this structure, followed by one or more PERF_COUNTER_INFO blocks, and ends with the instance name.
InstanceId
Identifier that uniquely identifies this instance.
The provider specified the identifier when calling PerfCreateInstance.
InstanceNameOffset
Byte offset from the beginning of this structure to the null-terminated Unicode instance name.
The provider specified the instance name when calling PerfCreateInstance.
InstanceNameSize
Size, in bytes, of the instance name. The size includes the null-terminator.
Remarks
The Offset member of PERF_COUNTER_INFO contains the byte offset from the beginning of the PERF_COUNTERSET_INSTANCE block to the counter's raw counter value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | perflib.h |