Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UsbTransferDirection enumeration

Defines constants that indicate the direction of USB transfer: IN or OUT transfers.

Syntax


public enum class UsbTransferDirection

Attributes

[Version(0x06030000)]

Members

The UsbTransferDirection enumeration has these members.

MemberValueDescription
Out | out0

Indicates an OUT transfer from the host to the device.

In | in1

Indicates an IN transfer from the device to the host.

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.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

 

 

Show:
© 2015 Microsoft