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

# WdCloseCancellationHandle

> WdCloseCancellationHandle

# WdCloseCancellationHandle

Fecha um identificador de cancelamento criado por [WdCreateCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdcreatecancellationhandle.md).

## Sintaxe

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

### Parâmetros

`_In_ cancellationHandle`\
Tipo: **[WdCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/structs/wdcancellationhandle.md)**

O identificador de cancelamento a ser fechado. Após essa chamada, o identificador não é mais válido e não deve ser usado.

### Valor retornado

Esta função não retorna um valor.

## Comentários

Todo identificador criado por [WdCreateCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdcreatecancellationhandle.md) ou duplicado por [WdDuplicateCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdduplicatecancellationhandle.md) deve ser fechado de forma independente com `WdCloseCancellationHandle`. Feche o identificador depois que [WdRemoteCopy](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdremotecopy.md) retornar e o identificador não for mais necessário.

## Requisitos

| Requisito | Valor |
| - | - |
| **Cabeçalho** | WdRemoteIteration.h |
| **Biblioteca** | wdremoteapi.lib |
| **SO com suporte** | Windows 11 e posterior |
| **Arquiteturas com suporte** | x64, ARM64 |

## Confira também

* [WdCreateCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdcreatecancellationhandle.md)
* [WdDuplicateCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdduplicatecancellationhandle.md)
* [WdCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/structs/wdcancellationhandle.md)
* [XBOX PC Remote Iteration API](https://docs.xbox.com/pt-BR/reference/remoting/remoteiteration_members.md)


## Related topics

- [WdCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/structs/wdcancellationhandle.md)
- [WdCreateCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdcreatecancellationhandle.md)
- [WdDuplicateCancellationHandle](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdduplicatecancellationhandle.md)
- [WdCancelRemoteCopy](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdcancelremotecopy.md)
- [WdCancelRemoteDelete](https://docs.xbox.com/pt-BR/reference/remoting/functions/wdcancelremotedelete.md)
