SetThreadpoolCallbackCleanupGroup method

void SetThreadpoolCallbackCleanupGroup(
  1. Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
  2. Pointer<_TP_CLEANUP_GROUP> ptpcg,
  3. Pointer<NativeFunction<PTP_CLEANUP_GROUP_CANCEL_CALLBACK>> pfng
)

Implementation

void SetThreadpoolCallbackCleanupGroup(
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> pcbe,
  ffi.Pointer<_TP_CLEANUP_GROUP> ptpcg,
  ffi.Pointer<ffi.NativeFunction<PTP_CLEANUP_GROUP_CANCEL_CALLBACK>> pfng,
) {
  return (_SetThreadpoolCallbackCleanupGroup ??= _dylib.lookupFunction<
          _c_SetThreadpoolCallbackCleanupGroup,
          _dart_SetThreadpoolCallbackCleanupGroup>(
      'SetThreadpoolCallbackCleanupGroup'))(
    pcbe,
    ptpcg,
    pfng,
  );
}