> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WdCloseCancellationHandle

> WdCloseCancellationHandle

# WdCloseCancellationHandle

Ferme un handle d'annulation créé par [WdCreateCancellationHandle](/fr-CA/reference/remoting/functions/wdcreatecancellationhandle).

## Syntaxe

```cpp theme={null}
void WdCloseCancellationHandle(  
         _In_ WdCancellationHandle cancellationHandle  
);  
```

### Paramètres

`_In_ cancellationHandle`\
Type : **[WdCancellationHandle](/fr-CA/reference/remoting/structs/wdcancellationhandle)**

Le handle d'annulation à fermer. Après cet appel, le handle n'est plus valide et ne doit pas être utilisé.

### Valeur de retour

Cette fonction ne retourne aucune valeur.

## Remarques

Chaque handle créé par [WdCreateCancellationHandle](/fr-CA/reference/remoting/functions/wdcreatecancellationhandle) ou dupliqué par [WdDuplicateCancellationHandle](/fr-CA/reference/remoting/functions/wdduplicatecancellationhandle) doit être fermé individuellement avec `WdCloseCancellationHandle`. Fermez le handle une fois que [WdRemoteCopy](/fr-CA/reference/remoting/functions/wdremotecopy) a retourné et que le handle n'est plus nécessaire.

## Configuration requise

| Exigence | Valeur |
| - | - |
| **En-tête** | WdRemoteIteration.h |
| **Bibliothèque** | wdremoteapi.lib |
| **SE pris en charge** | Windows 11 et versions ultérieures |
| **Architectures prises en charge** | x64, ARM64 |

## Voir aussi

* [WdCreateCancellationHandle](/fr-CA/reference/remoting/functions/wdcreatecancellationhandle)
* [WdDuplicateCancellationHandle](/fr-CA/reference/remoting/functions/wdduplicatecancellationhandle)
* [WdCancellationHandle](/fr-CA/reference/remoting/structs/wdcancellationhandle)
* [API d'itération à distance XBOX PC](/fr-CA/reference/remoting/remoteiteration_members)


## Related topics

- [WdCloseCancellationHandle](/reference/remoting/functions/wdclosecancellationhandle.md)
- [WdCancellationHandle](/reference/remoting/structs/wdcancellationhandle.md)
