> ## 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

Cierra un identificador de cancelación creado por [WdCreateCancellationHandle](/reference/remoting/functions/wdcreatecancellationhandle).

## Sintaxis

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

### Parámetros

`_In_ cancellationHandle`\
Tipo: **[WdCancellationHandle](/reference/remoting/structs/wdcancellationhandle)**

Identificador de cancelación que se va a cerrar. Después de esta llamada, el identificador deja de ser válido y no debe usarse.

### Valor devuelto

Esta función no devuelve ningún valor.

## Comentarios

Cada identificador creado por [WdCreateCancellationHandle](/reference/remoting/functions/wdcreatecancellationhandle) o duplicado por [WdDuplicateCancellationHandle](/reference/remoting/functions/wdduplicatecancellationhandle) debe cerrarse de forma independiente con `WdCloseCancellationHandle`. Cierre el identificador después de que [WdRemoteCopy](/reference/remoting/functions/wdremotecopy) haya devuelto un valor y el identificador ya no sea necesario.

## Requisitos

| Requisito                           | Valor                              |
| ----------------------------------- | ---------------------------------- |
| **Encabezado**                      | WdRemoteIteration.h                |
| **Biblioteca**                      | wdremoteapi.lib                    |
| **Sistemas operativos compatibles** | Windows 11 y versiones posteriores |
| **Arquitecturas compatibles**       | x64, ARM64                         |

## Consulte también

* [WdCreateCancellationHandle](/reference/remoting/functions/wdcreatecancellationhandle)
* [WdDuplicateCancellationHandle](/reference/remoting/functions/wdduplicatecancellationhandle)
* [WdCancellationHandle](/reference/remoting/structs/wdcancellationhandle)
* [API XBOX PC Remote Iteration](/reference/remoting/remoteiteration_members)


## Related topics

- [WdCancellationHandle](/es/reference/remoting/structs/wdcancellationhandle.md)
- [WdCreateCancellationHandle](/es/reference/remoting/functions/wdcreatecancellationhandle.md)
- [WdDuplicateCancellationHandle](/es/reference/remoting/functions/wdduplicatecancellationhandle.md)
- [WdCancelRemoteCopy](/es/reference/remoting/functions/wdcancelremotecopy.md)
- [WdRemoteCopy](/es/reference/remoting/functions/wdremotecopy.md)
