TpSetCallbackActivationContext, fonction (winnt.h)
Affecte un contexte d’activation à l’environnement de rappel.
Syntaxe
void TpSetCallbackActivationContext(
[in, out] PTP_CALLBACK_ENVIRON CallbackEnviron,
[in, optional] _ACTIVATION_CONTEXT *ActivationContext
);
Paramètres
[in, out] CallbackEnviron
Structure TP_CALLBACK_ENVIRON qui définit l’environnement de rappel. La fonction TpInitializeCallbackEnviron retourne cette structure.
[in, optional] ActivationContext
Pointeur vers une structure _ACTIVATION_CONTEXT .
Valeur de retour
None
Remarques
Cette fonction est implémentée en tant que fonction inline.
Configuration requise
Condition requise | Valeur |
---|---|
Plateforme cible | Windows |
En-tête | winnt.h |
Voir aussi
TpSetCallbackFinalizationCallback
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour