TpSetCallbackPersistent function (winnt.h)

Specifies that the callback should run on a persistent thread.

Syntax

void TpSetCallbackPersistent(
  [in, out] PTP_CALLBACK_ENVIRON CallbackEnviron
);

Parameters

[in, out] CallbackEnviron

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

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool