TpSetCallbackCleanupGroup method

void TpSetCallbackCleanupGroup(
  1. Pointer<TP_CALLBACK_ENVIRON_V3> CallbackEnviron,
  2. Pointer<_TP_CLEANUP_GROUP> CleanupGroup,
  3. Pointer<NativeFunction<PTP_CLEANUP_GROUP_CANCEL_CALLBACK>> CleanupGroupCancelCallback
)

Implementation

void TpSetCallbackCleanupGroup(
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> CallbackEnviron,
  ffi.Pointer<_TP_CLEANUP_GROUP> CleanupGroup,
  ffi.Pointer<ffi.NativeFunction<PTP_CLEANUP_GROUP_CANCEL_CALLBACK>>
      CleanupGroupCancelCallback,
) {
  return (_TpSetCallbackCleanupGroup ??= _dylib.lookupFunction<
      _c_TpSetCallbackCleanupGroup,
      _dart_TpSetCallbackCleanupGroup>('TpSetCallbackCleanupGroup'))(
    CallbackEnviron,
    CleanupGroup,
    CleanupGroupCancelCallback,
  );
}