Removes the provider's registration.
Syntax
void WINAPI CounterCleanup(void);
Parameters
This function has no parameters.
Return value
This function does not return a value.
Remarks
Your provider calls this function. The function calls the PerfStopProvider function to remove the provider's registration.
The CTRPP tool generates this inline function when you specify the -o argument. The function's name includes a prefix string if you specify the -prefix argument (for example, prefixCounterCleanup.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
