CounterCleanup function

Removes the provider's registration.


void WINAPI CounterCleanup(void);


This function has no parameters.

Return value

This function does not return a value.


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.


Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]