CreateTimerQueueTimer method

int CreateTimerQueueTimer(
  1. Pointer<Pointer<Void>> phNewTimer,
  2. Pointer<Void> TimerQueue,
  3. Pointer<NativeFunction<WAITORTIMERCALLBACK>> Callback,
  4. Pointer<Void> Parameter,
  5. int DueTime,
  6. int Period,
  7. int Flags,
)

Implementation

int CreateTimerQueueTimer(
  ffi.Pointer<ffi.Pointer<ffi.Void>> phNewTimer,
  ffi.Pointer<ffi.Void> TimerQueue,
  ffi.Pointer<ffi.NativeFunction<WAITORTIMERCALLBACK>> Callback,
  ffi.Pointer<ffi.Void> Parameter,
  int DueTime,
  int Period,
  int Flags,
) {
  return (_CreateTimerQueueTimer ??= _dylib.lookupFunction<
      _c_CreateTimerQueueTimer,
      _dart_CreateTimerQueueTimer>('CreateTimerQueueTimer'))(
    phNewTimer,
    TimerQueue,
    Callback,
    Parameter,
    DueTime,
    Period,
    Flags,
  );
}