Share via


Funzione TpSetCallbackPersistent (winnt.h)

Specifica che il callback deve essere eseguito in un thread persistente.

Sintassi

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

Parametri

[in, out] CallbackEnviron

Struttura TP_CALLBACK_ENVIRON che definisce l'ambiente di callback. La funzione TpInitializeCallbackEnviron restituisce questa struttura.

Valore restituito

nessuno

Osservazioni

Questa funzione viene implementata come funzione inline.

Requisiti

   
Piattaforma di destinazione Windows
Intestazione winnt.h

Vedi anche

TpDestroyCallbackEnviron

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallbackCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool