TpSetCallbackPersistent function

Specifies that the callback should run on a persistent thread.

Syntax

void TpSetCallbackPersistent(
  PTP_CALLBACK_ENVIRON CallbackEnviron
);

Parameters

CallbackEnviron

A TP_CALLBACK_ENVIRON structure that defines the callback environment. The TpInitializeCallbackEnviron function returns this 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

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool