Share via


TpSetCallbackLongFunction, fonction (winnt.h)

Indique que les rappels associés à cet environnement de rappel peuvent ne pas revenir rapidement.

Syntaxe

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

Paramètres

[in, out] CallbackEnviron

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

Valeur de retour

None

Remarques

Le pool de threads peut utiliser ces informations pour mieux déterminer quand un nouveau thread doit être créé.

Cette fonction est implémentée en tant que fonction inline.

Configuration requise

   
Plateforme cible Windows
En-tête winnt.h

Voir aussi

TpDestroyCallbackEnviron

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool