PerfStopProvider function

Removes the provider's registration from the list of registered providers and frees all resources associated with the provider.

Syntax

ULONG PerfStopProvider(
  HANDLE ProviderHandle
);

Parameters

ProviderHandle

Handle to the provider.

Return Value

If the function succeeds, it returns ERROR_SUCCESS.

If the function fails, the return value is a system error code.

Remarks

The CounterCleanup function calls this function; do not call this function directly.

Windows Vista:  The PerfAutoCleanup function calls this function.

Requirements

   
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

See Also

PerfStartProvider