Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TpSetCallbackActivationContext function

Assigns an activation context to the callback environment.

Syntax


VOID FORCEINLINE TpSetCallbackActivationContext(
  _Inout_  PTP_CALLBACK_ENVIRON       CallbackEnviron,
  _In_opt_ struct _ACTIVATION_CONTEXT *ActivationContext
);

Parameters

CallbackEnviron [in, out]

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

ActivationContext [in, optional]

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

Header

Winnt.h

See also

TpInitializeCallbackEnviron
TpDestroyCallbackEnviron
TpSetCallbackCleanupGroup
TpSetCallbackFinalizationCallback
TpSetCallbackLongFunction
TpSetCallbackNoActivationContext
TpSetCallbackPersistent
TpSetCallbackPriority
TpSetCallbackRaceWithDll
TpSetCallbackThreadpool

 

 

Show:
© 2017 Microsoft