PM_CLOSE_PROC callback function (winperf.h)
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()
{...}
Parameters
This callback function has no parameters.
Return value
This function should return ERROR_SUCCESS.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | winperf.h |