TpSetCallbackFinalizationCallback method

void TpSetCallbackFinalizationCallback(
  1. Pointer<TP_CALLBACK_ENVIRON_V3> CallbackEnviron,
  2. Pointer<NativeFunction<PTP_SIMPLE_CALLBACK>> FinalizationCallback
)

Implementation

void TpSetCallbackFinalizationCallback(
  ffi.Pointer<TP_CALLBACK_ENVIRON_V3> CallbackEnviron,
  ffi.Pointer<ffi.NativeFunction<PTP_SIMPLE_CALLBACK>> FinalizationCallback,
) {
  return (_TpSetCallbackFinalizationCallback ??= _dylib.lookupFunction<
          _c_TpSetCallbackFinalizationCallback,
          _dart_TpSetCallbackFinalizationCallback>(
      'TpSetCallbackFinalizationCallback'))(
    CallbackEnviron,
    FinalizationCallback,
  );
}