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

# WdCopyDirection

> WdCopyDirection

# WdCopyDirection

コピー操作の方向を指定します。

## 構文

```cpp theme={null}
enum class WdCopyDirection : uint32_t 
{ 
    CopyTo = 0, 
    CopyFrom = 1 
};
```

### 定数

| 定数       | 値 | 説明                                |
| -------- | - | --------------------------------- |
| CopyTo   | 0 | リモート デバイスにファイルをコピーします。これが既定の方向です。 |
| CopyFrom | 1 | リモート デバイスからファイルをコピーします。           |

## 解説

この列挙型は、[WdCopyOptions](/reference/remoting/structs/wdcopyoptions) 構造体で [WdRemoteCopy](/reference/remoting/functions/wdremotecopy) 操作の方向を指定するために使用されます。

## 要件

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

## 関連項目

* [WdRemoteCopy](/reference/remoting/functions/wdremotecopy)
* [WdCopyOptions](/reference/remoting/structs/wdcopyoptions)
* [XBOX PC Remote Iteration API](/reference/remoting/remoteiteration_members)
