CreateThreadpoolWork method

Pointer<_TP_WORK> CreateThreadpoolWork(
  1. Pointer<NativeFunction<PTP_WORK_CALLBACK>> pfnwk,
  2. Pointer<Void> pv,
  3. Pointer<TP_CALLBACK_ENVIRON_V3> pcbe
)

Implementation

ffi.Pointer<_TP_WORK> CreateThreadpoolWork(
  ffi.Pointer<ffi.NativeFunction<PTP_WORK_CALLBACK>> pfnwk,
  ffi.Pointer<ffi.Void> pv,
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
) {
  return (_CreateThreadpoolWork ??= _dylib.lookupFunction<
      _c_CreateThreadpoolWork,
      _dart_CreateThreadpoolWork>('CreateThreadpoolWork'))(
    pfnwk,
    pv,
    pcbe,
  );
}