UsbReadOptions enumeration

Applies to Windows only

Defines constants for configuration flags that can be set for a USB pipe that the host opens for a USB bulk IN endpoint.

Syntax


var value = Windows.Devices.Usb.UsbReadOptions.none;

Attributes

[Flags()]
[Version(0x06030000)]

Members

The UsbReadOptions enumeration has these members.

MemberValueDescription
None | none0

Clear all flags.

AutoClearStall | autoClearStall1

Automatically clears a stalled pipe without stopping the data flow.

OverrideAutomaticBufferManagement | overrideAutomaticBufferManagement2

Bypasses queuing and error handling to boost performance for multiple read requests. Read operations must be done in multiples of MaxPacketSize.

IgnoreShortPacket | ignoreShortPacket4

The host does not complete a read request when a short packet is received. The read request is completed only when an error occurs, the request is canceled, or all requested bytes have been read.

AllowPartialReads | allowPartialReads8

Allows read requests from a device that returns more data than requested by the caller.

Requirements

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:
© 2014 Microsoft