GetProcessTimes method

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

Implementation

int GetProcessTimes(
  ffi.Pointer<ffi.Void> hProcess,
  ffi.Pointer<LPFILETIME> lpCreationTime,
  ffi.Pointer<LPFILETIME> lpExitTime,
  ffi.Pointer<LPFILETIME> lpKernelTime,
  ffi.Pointer<LPFILETIME> lpUserTime,
) {
  return (_GetProcessTimes ??=
      _dylib.lookupFunction<_c_GetProcessTimes, _dart_GetProcessTimes>(
          'GetProcessTimes'))(
    hProcess,
    lpCreationTime,
    lpExitTime,
    lpKernelTime,
    lpUserTime,
  );
}