ClosePerformanceData 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


DWORD APIENTRY ClosePerformanceData(void);

Parameters

This callback function has no parameters.

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]

Header

Winperf.h

See also

CollectPerformanceData
OpenPerformanceData

 

 

Show: