PM_CLOSE_PROC callback function

Performs the cleanup required by your performance DLL. Implement and export this function if you are writing a performance DLL to provide performance data. The system calls this function whenever a consumer closes the registry key used to collect performance data.

The ClosePerformanceData function is a placeholder for the application-defined function name.

Syntax

PM_CLOSE_PROC PmCloseProc;

DWORD PmCloseProc(
  void Arg1
)
{...}

Parameters

Arg1

Return value

This function should return ERROR_SUCCESS.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winperf.h

See also

CollectPerformanceData

OpenPerformanceData