GetThreadTimes function kernel32

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

Retrieves timing information for the specified thread.

BOOL GetThreadTimes(
  HANDLE     hThread,
  LPFILETIME lpCreationTime,
  LPFILETIME lpExitTime,
  LPFILETIME lpKernelTime,
  LPFILETIME lpUserTime
);

Implementation

int GetThreadTimes(
  int hThread,
  Pointer<FILETIME> lpCreationTime,
  Pointer<FILETIME> lpExitTime,
  Pointer<FILETIME> lpKernelTime,
  Pointer<FILETIME> lpUserTime,
) => _GetThreadTimes(
  hThread,
  lpCreationTime,
  lpExitTime,
  lpKernelTime,
  lpUserTime,
);