TpDestroyCallbackEnviron, fonction (winnt.h)

Supprime l’environnement de rappel spécifié. Appelez cette fonction lorsque l’environnement de rappel n’est plus nécessaire pour créer de nouveaux objets de pool de threads.

Syntaxe

void TpDestroyCallbackEnviron(
  [in] PTP_CALLBACK_ENVIRON CallbackEnviron
);

Paramètres

[in] CallbackEnviron

Structure TP_CALLBACK_ENVIRON qui définit l’environnement de rappel. La fonction TpInitializeCallbackEnviron retourne cette structure.

Valeur de retour

None

Configuration requise

Condition requise Valeur
Plateforme cible Windows
En-tête winnt.h

Voir aussi

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool