TpSetCallbackActivationContext function (winnt.h)

Assigns an activation context to the callback environment.

Syntax

void TpSetCallbackActivationContext(
  [in, out]      PTP_CALLBACK_ENVIRON CallbackEnviron,
  [in, optional] _ACTIVATION_CONTEXT  *ActivationContext
);

Parameters

[in, out] CallbackEnviron

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

[in, optional] ActivationContext

Pointer to an _ACTIVATION_CONTEXT structure.

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

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool