UsbWriteOptions 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.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class UsbWriteOptions
enum class winrt::Windows::Devices::Usb::UsbWriteOptions : uint32_t
public enum UsbWriteOptions
Public Enum UsbWriteOptions
var value = Windows.Devices.Usb.UsbWriteOptions.autoClearStall;
System.FlagsAttribute ContractVersionAttribute

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AutoClearStall AutoClearStall AutoClearStall AutoClearStall AutoClearStall 1

Automatically clears a stalled pipe without stopping the data flow.

None None None None None 0

Clear all flags.

ShortPacketTerminate ShortPacketTerminate ShortPacketTerminate ShortPacketTerminate ShortPacketTerminate 2

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.