TpSetCallbackFinalizationCallback function (winnt.h)

Indicates a function to call when the callback environment is finalized.

Syntax

void TpSetCallbackFinalizationCallback(
  [in, out] PTP_CALLBACK_ENVIRON CallbackEnviron,
  [in]      PTP_SIMPLE_CALLBACK  FinalizationCallback
);

Parameters

[in, out] CallbackEnviron

A TP_CALLBACK_ENVIRON structure that defines the callback environment. The TpInitializeCallbackEnviron function returns this structure.

[in] FinalizationCallback

Pointer to a TP_SIMPLE_CALLBACK structure indicating a function to call when the callback environment is finalized.

Return value

None

Remarks

This function is implemented as an inline function.

Requirements

Requirement Value
Target Platform Windows
Header winnt.h

See also

TpDestroyCallbackEnviron

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool