GetSystemTimes function Null safety kernel32

int GetSystemTimes(
  1. Pointer<FILETIME> lpIdleTime,
  2. Pointer<FILETIME> lpKernelTime,
  3. Pointer<FILETIME> lpUserTime

Retrieves system timing information. On a multiprocessor system, the values returned are the sum of the designated times across all processors.

BOOL GetSystemTimes(
  PFILETIME lpIdleTime,
  PFILETIME lpKernelTime,
  PFILETIME lpUserTime


int GetSystemTimes(Pointer<FILETIME> lpIdleTime, Pointer<FILETIME> lpKernelTime,
        Pointer<FILETIME> lpUserTime) =>
    _GetSystemTimes(lpIdleTime, lpKernelTime, lpUserTime);