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 class UsbReadOptions
Attributes
- [Flags()]
- [Version(0x06030000)]
Members
The UsbReadOptions enumeration has these members.
Member | Value | Description |
---|---|---|
None | none | 0 |
Clear all flags. |
AutoClearStall | autoClearStall | 1 |
Automatically clears a stalled pipe without stopping the data flow. |
OverrideAutomaticBufferManagement | overrideAutomaticBufferManagement | 2 |
Bypasses queuing and error handling to boost performance for multiple read requests. Read operations must be done in multiples of MaxPacketSize. |
IgnoreShortPacket | ignoreShortPacket | 4 |
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 | allowPartialReads | 8 |
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 |
Namespace |
|
Metadata |
|
Show: