Windows hardware
Collapse the table of content
Expand the table of content
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.

UsbReadOptions enumeration

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

Syntax


Public Enum UsbReadOptions

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 (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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

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

 

 

Show:
© 2016 Microsoft