WdCancellationHandle
Un handle opaque servant à annuler une opération de copie en cours.Syntaxe
Remarques
WdCancellationHandle est un pointeur défini par typedef vers une structure interne opaque. L’appelant est responsable de la gestion du cycle de vie du handle :
- Créez un handle en appelant WdCreateCancellationHandle.
- Passez le handle à WdRemoteCopy au moyen du paramètre
cancellationHandle. - Pour annuler la copie en cours, appelez WdCancelRemoteCopy avec le handle à partir d’un thread distinct.
- Une fois que
WdRemoteCopya retourné, fermez le handle en appelant WdCloseCancellationHandle.
WdCloseCancellationHandle.
