GetProcessTimes function kernel32
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);