OpenWaitableTimerW method

Pointer<Void> OpenWaitableTimerW(
  1. int dwDesiredAccess,
  2. int bInheritHandle,
  3. Pointer<Uint16> lpTimerName
)

Implementation

ffi.Pointer<ffi.Void> OpenWaitableTimerW(
  int dwDesiredAccess,
  int bInheritHandle,
  ffi.Pointer<ffi.Uint16> lpTimerName,
) {
  return (_OpenWaitableTimerW ??=
      _dylib.lookupFunction<_c_OpenWaitableTimerW, _dart_OpenWaitableTimerW>(
          'OpenWaitableTimerW'))(
    dwDesiredAccess,
    bInheritHandle,
    lpTimerName,
  );
}