Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PerfStopProvider function

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

Syntax


ULONG PerfStopProvider(
  _In_ HANDLE hProvider
);

Parameters

hProvider [in]

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]

Header

Perflib.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

PerfStartProvider

 

 

Show: