CreateWaitableTimerExW method

Pointer<Void> CreateWaitableTimerExW(
  1. Pointer<LPSECURITY_ATTRIBUTES> lpTimerAttributes,
  2. Pointer<Uint16> lpTimerName,
  3. int dwFlags,
  4. int dwDesiredAccess,
)

Implementation

ffi.Pointer<ffi.Void> CreateWaitableTimerExW(
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpTimerAttributes,
  ffi.Pointer<ffi.Uint16> lpTimerName,
  int dwFlags,
  int dwDesiredAccess,
) {
  return (_CreateWaitableTimerExW ??= _dylib.lookupFunction<
      _c_CreateWaitableTimerExW,
      _dart_CreateWaitableTimerExW>('CreateWaitableTimerExW'))(
    lpTimerAttributes,
    lpTimerName,
    dwFlags,
    dwDesiredAccess,
  );
}