CreateThreadpoolTimer method

Pointer<_TP_TIMER> CreateThreadpoolTimer(
  1. Pointer<NativeFunction<PTP_TIMER_CALLBACK>> pfnti,
  2. Pointer<Void> pv,
  3. Pointer<TP_CALLBACK_ENVIRON_V3> pcbe
)

Implementation

ffi.Pointer<_TP_TIMER> CreateThreadpoolTimer(
  ffi.Pointer<ffi.NativeFunction<PTP_TIMER_CALLBACK>> pfnti,
  ffi.Pointer<ffi.Void> pv,
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
) {
  return (_CreateThreadpoolTimer ??= _dylib.lookupFunction<
      _c_CreateThreadpoolTimer,
      _dart_CreateThreadpoolTimer>('CreateThreadpoolTimer'))(
    pfnti,
    pv,
    pcbe,
  );
}