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

Specifies the direction of a copy operation.

## Syntax

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

### Constants

| Constant | Value | Description                                                     |
| -------- | ----- | --------------------------------------------------------------- |
| CopyTo   | 0     | Copy files to the remote device. This is the default direction. |
| CopyFrom | 1     | Copy files from the remote device.                              |

## Remarks

This enumeration is used in the [WdCopyOptions](/reference/remoting/structs/wdcopyoptions) structure to specify the direction of a [WdRemoteCopy](/reference/remoting/functions/wdremotecopy) operation.

## Requirements

| Requirement                 | Value                |
| --------------------------- | -------------------- |
| **Header**                  | WdRemoteIteration.h  |
| **Library**                 | wdremoteapi.lib      |
| **Supported OS**            | Windows 11 and later |
| **Supported architectures** | x64, ARM64           |

## See also

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


## Related topics

- [WdCopyOptions](/reference/remoting/structs/wdcopyoptions.md)
- [WdRemoteCopy](/reference/remoting/functions/wdremotecopy.md)
- [XBOX PC Remote Iteration API](/reference/remoting/remoteiteration_members.md)
- [WdCancelRemoteCopy](/reference/remoting/functions/wdcancelremotecopy.md)
- [WdCopyErrorSeverity](/reference/remoting/enums/wdcopyerrorseverity.md)
