GetProcessTimes function kernel32

int GetProcessTimes(
  1. int hProcess,
  2. Pointer<FILETIME> lpCreationTime,
  3. Pointer<FILETIME> lpExitTime,
  4. Pointer<FILETIME> lpKernelTime,
  5. Pointer<FILETIME> lpUserTime,
)

Retrieves timing information for the specified process.

BOOL GetProcessTimes(
  HANDLE hProcess,
  LPFILETIME lpCreationTime,
  LPFILETIME lpExitTime,
  LPFILETIME lpKernelTime,
  LPFILETIME lpUserTime
);

Implementation

int GetProcessTimes(
  int hProcess,
  Pointer<FILETIME> lpCreationTime,
  Pointer<FILETIME> lpExitTime,
  Pointer<FILETIME> lpKernelTime,
  Pointer<FILETIME> lpUserTime,
) => _GetProcessTimes(
  hProcess,
  lpCreationTime,
  lpExitTime,
  lpKernelTime,
  lpUserTime,
);