Group: Performance Monitoring - Library: psapi
Obtaining OS memory performance information
BOOL WINAPI GetPerformanceInfo(
__out PPERFORMANCE_INFORMATION
pPerformanceInformation,
__in DWORD cb
);
DECLARE INTEGER GetPerformanceInfo in psapi;
STRING @pPerfInfo,;
LONG cb
pPerformanceInformation [out] A pointer to a PERFORMANCE_INFORMATION structure that receives the performance information.
cb [in] The size of the PERFORMANCE_INFORMATION structure, in bytes.
If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError.