> ## 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     |
| **支持的操作系统** | Windows 11 及更高版本    |
| **支持的体系结构** | x64、ARM64           |

## 另请参阅

* [WdRemoteCopy](/reference/remoting/functions/wdremotecopy)
* [WdCopyOptions](/reference/remoting/structs/wdcopyoptions)
* [XBOX PC 远程迭代 API](/reference/remoting/remoteiteration_members)


## Related topics

- [WdCopyOptions](/zh-CN/reference/remoting/structs/wdcopyoptions.md)
- [WdRemoteCopy](/zh-CN/reference/remoting/functions/wdremotecopy.md)
- [XBOX PC Remote Iteration API](/zh-CN/reference/remoting/remoteiteration_members.md)
- [WdCopyErrorCallback](/zh-CN/reference/remoting/callbacks/wdcopyerrorcallback.md)
- [WdCopyErrorSeverity](/zh-CN/reference/remoting/enums/wdcopyerrorseverity.md)
