Last updated 1 year ago
[DllImport("psapi.dll", SetLastError = true)] public static extern bool GetPerformanceInfo( out PERFORMANCE_INFORMATION pPerformanceInformation, uint cb );
Microsoft documentation: