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

[WdCreateCancellationHandle](/reference/remoting/functions/wdcreatecancellationhandle) で作成されたキャンセル ハンドルを閉じます。

## 構文

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

### パラメーター

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

閉じるキャンセル ハンドル。この呼び出しの後、ハンドルは無効になり、使用してはなりません。

### 戻り値

この関数は値を返しません。

## 解説

[WdCreateCancellationHandle](/reference/remoting/functions/wdcreatecancellationhandle) で作成、または [WdDuplicateCancellationHandle](/reference/remoting/functions/wdduplicatecancellationhandle) で複製されたすべてのハンドルは、`WdCloseCancellationHandle` で個別に閉じる必要があります。[WdRemoteCopy](/reference/remoting/functions/wdremotecopy) が戻ってハンドルが不要になった後で、ハンドルを閉じてください。

## 要件

| 要件                   | 値                   |
| -------------------- | ------------------- |
| **ヘッダー**             | WdRemoteIteration.h |
| **ライブラリ**            | wdremoteapi.lib     |
| **サポートされている OS**     | Windows 11 以降       |
| **サポートされているアーキテクチャ** | x64、ARM64           |

## 関連項目

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


## Related topics

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