CreateThreadpoolWait method

Pointer<_TP_WAIT> CreateThreadpoolWait(
  1. Pointer<NativeFunction<PTP_WAIT_CALLBACK>> pfnwa,
  2. Pointer<Void> pv,
  3. Pointer<TP_CALLBACK_ENVIRON_V3> pcbe
)

Implementation

ffi.Pointer<_TP_WAIT> CreateThreadpoolWait(
  ffi.Pointer<ffi.NativeFunction<PTP_WAIT_CALLBACK>> pfnwa,
  ffi.Pointer<ffi.Void> pv,
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
) {
  return (_CreateThreadpoolWait ??= _dylib.lookupFunction<
      _c_CreateThreadpoolWait,
      _dart_CreateThreadpoolWait>('CreateThreadpoolWait'))(
    pfnwa,
    pv,
    pcbe,
  );
}