GetThreadTimes method

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

Implementation

int GetThreadTimes(
  ffi.Pointer<ffi.Void> hThread,
  ffi.Pointer<LPFILETIME> lpCreationTime,
  ffi.Pointer<LPFILETIME> lpExitTime,
  ffi.Pointer<LPFILETIME> lpKernelTime,
  ffi.Pointer<LPFILETIME> lpUserTime,
) {
  return (_GetThreadTimes ??=
      _dylib.lookupFunction<_c_GetThreadTimes, _dart_GetThreadTimes>(
          'GetThreadTimes'))(
    hThread,
    lpCreationTime,
    lpExitTime,
    lpKernelTime,
    lpUserTime,
  );
}