UsbWriteOptions UsbWriteOptions UsbWriteOptions UsbWriteOptions Enum

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

Syntax

Declaration

public enum UsbWriteOptionspublic enum UsbWriteOptionsPublic Enum UsbWriteOptionspublic enum UsbWriteOptions

Fields

AutoClearStall
AutoClearStall
AutoClearStall
AutoClearStall

Automatically clears a stalled pipe without stopping the data flow.

None
None
None
None

Clear all flags.

ShortPacketTerminate
ShortPacketTerminate
ShortPacketTerminate
ShortPacketTerminate

Sends a zero length packet for a write request in which the buffer is a multiple of the maximum packet size supported by the endpoint.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

System.FlagsAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Devices.Usb.dll