TpSetCallbackActivationContext function

Assigns an activation context to the callback environment.

Syntax

void TpSetCallbackActivationContext(
  PTP_CALLBACK_ENVIRON CallbackEnviron,
  _ACTIVATION_CONTEXT  *ActivationContext
);

Parameters

CallbackEnviron

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

ActivationContext

Pointer to an _ACTIVATION_CONTEXT structure.

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

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool