GetPerformanceInfo function kernel32

int GetPerformanceInfo(
  1. Pointer<PERFORMANCE_INFORMATION> pPerformanceInformation,
  2. int cb
)

Retrieves the performance values contained in the PERFORMANCE_INFORMATION structure.

BOOL K32GetPerformanceInfo(
  [out] PPERFORMANCE_INFORMATION pPerformanceInformation,
  [in]  DWORD                    cb
);

Implementation

int GetPerformanceInfo(
        Pointer<PERFORMANCE_INFORMATION> pPerformanceInformation, int cb) =>
    _K32GetPerformanceInfo(pPerformanceInformation, cb);