TrySubmitThreadpoolCallback method

int TrySubmitThreadpoolCallback(
  1. Pointer<NativeFunction<PTP_SIMPLE_CALLBACK>> pfns,
  2. Pointer<Void> pv,
  3. Pointer<TP_CALLBACK_ENVIRON_V3> pcbe
)

Implementation

int TrySubmitThreadpoolCallback(
  ffi.Pointer<ffi.NativeFunction<PTP_SIMPLE_CALLBACK>> pfns,
  ffi.Pointer<ffi.Void> pv,
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
) {
  return (_TrySubmitThreadpoolCallback ??= _dylib.lookupFunction<
      _c_TrySubmitThreadpoolCallback,
      _dart_TrySubmitThreadpoolCallback>('TrySubmitThreadpoolCallback'))(
    pfns,
    pv,
    pcbe,
  );
}