CreateThreadpoolIo method

Pointer<_TP_IO> CreateThreadpoolIo(
  1. Pointer<Void> fl,
  2. Pointer<NativeFunction<PTP_WIN32_IO_CALLBACK>> pfnio,
  3. Pointer<Void> pv,
  4. Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
)

Implementation

ffi.Pointer<_TP_IO> CreateThreadpoolIo(
  ffi.Pointer<ffi.Void> fl,
  ffi.Pointer<ffi.NativeFunction<PTP_WIN32_IO_CALLBACK>> pfnio,
  ffi.Pointer<ffi.Void> pv,
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
) {
  return (_CreateThreadpoolIo ??=
      _dylib.lookupFunction<_c_CreateThreadpoolIo, _dart_CreateThreadpoolIo>(
          'CreateThreadpoolIo'))(
    fl,
    pfnio,
    pv,
    pcbe,
  );
}