Windows Dev Center

UsbTransferDirection enumeration

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

Syntax


var value = Windows.Devices.Usb.UsbTransferDirection.out;

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 (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06030000)]

 

 

Show:
© 2015 Microsoft