PERF_STRING_COUNTER_HEADER structure (perflib.h)
Indicates where in the PERF_STRING_BUFFER_HEADER block that the string that contains the name or help string for the indicated performance counter starts. The PERF_STRING_COUNTER_HEADER structure is part of the PERF_STRING_BUFFER_HEADER block
Syntax
typedef struct _STRING_COUNTER_HEADER {
DWORD dwCounterId;
DWORD dwOffset;
} PERF_STRING_COUNTER_HEADER, *PPERF_STRING_COUNTER_HEADER;
Members
dwCounterId
The identifier of the performance counter.
dwOffset
The number of bytes from the start of the PERF_STRING_BUFFER_HEADER block to the null-terminated UTF-16LE data. A value of 0xFFFFFFFF indicates that the string is not present; in other words, that the value of the string is NULL.
Remarks
The PerfQueryCounterSetRegistrationInfo function called with the requestCode parameter set to PERF_REG_COUNTER_NAME_STRINGS or PERF_REG_COUNTER_HELP_STRINGS gets a PERF_STRING_BUFFER_HEADER block that contains one or more PERF_STRING_COUNTER_HEADER structures.
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 |