SetTimerQueueTimer method

Pointer<Void> SetTimerQueueTimer(
  1. Pointer<Void> TimerQueue,
  2. Pointer<NativeFunction<WAITORTIMERCALLBACK>> Callback,
  3. Pointer<Void> Parameter,
  4. int DueTime,
  5. int Period,
  6. int PreferIo,
)

Implementation

ffi.Pointer<ffi.Void> SetTimerQueueTimer(
  ffi.Pointer<ffi.Void> TimerQueue,
  ffi.Pointer<ffi.NativeFunction<WAITORTIMERCALLBACK>> Callback,
  ffi.Pointer<ffi.Void> Parameter,
  int DueTime,
  int Period,
  int PreferIo,
) {
  return (_SetTimerQueueTimer ??=
      _dylib.lookupFunction<_c_SetTimerQueueTimer, _dart_SetTimerQueueTimer>(
          'SetTimerQueueTimer'))(
    TimerQueue,
    Callback,
    Parameter,
    DueTime,
    Period,
    PreferIo,
  );
}