Usb​Read​Options Usb​Read​Options Usb​Read​Options Enum

Definition

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

public : enum class UsbReadOptionspublic enum UsbReadOptionsPublic Enum UsbReadOptions
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

AllowPartialReads AllowPartialReads AllowPartialReads

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

AutoClearStall AutoClearStall AutoClearStall

Automatically clears a stalled pipe without stopping the data flow.

IgnoreShortPacket IgnoreShortPacket IgnoreShortPacket

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.

None None None

Clear all flags.

OverrideAutomaticBufferManagement OverrideAutomaticBufferManagement OverrideAutomaticBufferManagement

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