Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Specifies the layout of a particular counter set.
ULONG PerfSetCounterSetInfo(
[in] HANDLE ProviderHandle,
[in] PPERF_COUNTERSET_INFO Template,
[in] ULONG TemplateSize
);
[in] ProviderHandle
The handle of the provider. Use the handle variable that the CTRPP tool generated for you. For the name of the variable, see the symbol attribute of the provider element.
Windows Vista: The PerfStartProvider function returns the handle.
[in] Template
Buffer that contains the counter set information. For details, see PERF_COUNTERSET_INFO.
[in] TemplateSize
Size, in bytes, of the pTemplate buffer.
If the function succeeds, it returns ERROR_SUCCESS.
If the function fails, the return value is a system error code.
The CounterInitialize function calls this function; do not call this function directly.
Windows Vista: The PerfAutoInitialize function calls this function.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | perflib.h |
Library | Advapi32.lib |
DLL | Advapi32.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today