UsbInterruptOutEndpointDescriptor UsbInterruptOutEndpointDescriptor UsbInterruptOutEndpointDescriptor UsbInterruptOutEndpointDescriptor Class

The endpoint descriptor for a USB interrupt OUT endpoint. The descriptor specifies the endpoint type, direction, number and also the maximum number of bytes that can be written to the endpoint, in a single transfer. The app can also get information about how often the host polls the endpoint to send data.

Syntax

Declaration

public sealed class UsbInterruptOutEndpointDescriptorpublic sealed class UsbInterruptOutEndpointDescriptorPublic NotInheritable Class UsbInterruptOutEndpointDescriptorpublic sealed class UsbInterruptOutEndpointDescriptor

Properties summary

Gets the USB endpoint number of the interrupt OUT endpoint.

Gets the poling interval of the USB interrupt endpoint.

Gets the maximum number of bytes that can be sent to or received from this endpoint.

Gets the object that represents the pipe that the host opens to communicate with the interrupt OUT endpoint.

Properties

  • EndpointNumber
    EndpointNumber
    EndpointNumber
    EndpointNumber

    Gets the USB endpoint number of the interrupt OUT endpoint.

    public byte EndpointNumber { get; }public byte EndpointNumber { get; }Public ReadOnly Property EndpointNumber As bytepublic byte EndpointNumber { get; }

    Property Value

    • byte
      byte
      byte
      byte

      The USB endpoint number.

  • Interval
    Interval
    Interval
    Interval

    Gets the poling interval of the USB interrupt endpoint.

    public TimeSpan Interval { get; }public TimeSpan Interval { get; }Public ReadOnly Property Interval As TimeSpanpublic TimeSpan Interval { get; }

    Property Value

  • MaxPacketSize
    MaxPacketSize
    MaxPacketSize
    MaxPacketSize

    Gets the maximum number of bytes that can be sent to or received from this endpoint.

    public uint MaxPacketSize { get; }public uint MaxPacketSize { get; }Public ReadOnly Property MaxPacketSize As uintpublic uint MaxPacketSize { get; }

    Property Value

    • uint
      uint
      uint
      uint

      Indicates the maximum packet size of the endpoint. This value is the wMaxPacketSize field value of the endpoint descriptor. For information, see Table 9-13 in the Universal Serial Bus Specification (version 2.0) or Table 9-18 in the Universal Serial Bus 3.0 Specification.

    Remarks

    The MaxPacketSize property value does not necessarily indicate the number of bytes that will be written at a time, in one interval.

  • Pipe
    Pipe
    Pipe
    Pipe

    Gets the object that represents the pipe that the host opens to communicate with the interrupt OUT endpoint.

    public UsbInterruptOutPipe Pipe { get; }public UsbInterruptOutPipe Pipe { get; }Public ReadOnly Property Pipe As UsbInterruptOutPipepublic UsbInterruptOutPipe Pipe { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Devices.Usb.dll