TpSetCallbackFinalizationCallback function

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

Syntax

void TpSetCallbackFinalizationCallback(
  PTP_CALLBACK_ENVIRON CallbackEnviron,
  PTP_SIMPLE_CALLBACK  FinalizationCallback
);

Parameters

CallbackEnviron

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

FinalizationCallback

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

Return Value

This function does not return a value.

Remarks

This function is implemented as an inline function.

Requirements

   
Target Platform Windows
Header winnt.h

See Also

TpDestroyCallbackEnviron

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool