UsbTransferDirection
UsbTransferDirection
UsbTransferDirection
UsbTransferDirection
Enum
Definition
Defines constants that indicate the direction of USB transfer: IN or OUT transfers.
public : enum class UsbTransferDirectionpublic enum UsbTransferDirectionPublic Enum UsbTransferDirection// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| In In In In | Indicates an IN transfer from the device to the host. |
| Out Out Out Out | Indicates an OUT transfer from the host to the device. |
Remarks
The direction of a USB transfer is determined from the host side and not the target USB device. In an IN transfer, data moves from the device to the host. In an OUT transfer, data moves from the host to the device.