UsbEndpointDescriptor UsbEndpointDescriptor UsbEndpointDescriptor UsbEndpointDescriptor UsbEndpointDescriptor Class

Definition

Derives information from the USB endpoint descriptor of the endpoint, such as type, direction, and endpoint number. This object also gets the specific endpoint descriptors based on the type of endpoint. For an explanation of an endpoint descriptor, see Section 9.6.5 in the Universal Serial Bus Specification:

  • Table 9.18 in the Universal Serial Bus 3.0 Specification
  • Table 9.13 in the Universal Serial Bus Specification (version 2.0)
public : sealed class UsbEndpointDescriptor : IUsbEndpointDescriptor
struct winrt::Windows::Devices::Usb::UsbEndpointDescriptor : IUsbEndpointDescriptor
public sealed class UsbEndpointDescriptor : IUsbEndpointDescriptor
Public NotInheritable Class UsbEndpointDescriptor Implements IUsbEndpointDescriptor
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

AsBulkInEndpointDescriptor AsBulkInEndpointDescriptor AsBulkInEndpointDescriptor AsBulkInEndpointDescriptor AsBulkInEndpointDescriptor

Gets an object that represents the endpoint descriptor for the USB bulk IN endpoint.

AsBulkOutEndpointDescriptor AsBulkOutEndpointDescriptor AsBulkOutEndpointDescriptor AsBulkOutEndpointDescriptor AsBulkOutEndpointDescriptor

Gets an object that represents the endpoint descriptor for the USB bulk OUT endpoint.

AsInterruptInEndpointDescriptor AsInterruptInEndpointDescriptor AsInterruptInEndpointDescriptor AsInterruptInEndpointDescriptor AsInterruptInEndpointDescriptor

Gets an object that represents the endpoint descriptor for the USB interrupt IN endpoint.

AsInterruptOutEndpointDescriptor AsInterruptOutEndpointDescriptor AsInterruptOutEndpointDescriptor AsInterruptOutEndpointDescriptor AsInterruptOutEndpointDescriptor

Gets an object that represents the endpoint descriptor for the USB interrupt OUT endpoint.

Direction Direction Direction Direction Direction

Gets the direction of the USB endpoint.

EndpointNumber EndpointNumber EndpointNumber EndpointNumber EndpointNumber

Gets the USB endpoint number.

EndpointType EndpointType EndpointType EndpointType EndpointType

Gets the type of USB endpoint.

Methods

Parse(UsbDescriptor) Parse(UsbDescriptor) Parse(UsbDescriptor) Parse(UsbDescriptor) Parse(UsbDescriptor)

Parses the specified USB descriptor and returns the USB endpoint descriptor in a UsbEndpointDescriptor object.

TryParse(UsbDescriptor, UsbEndpointDescriptor) TryParse(UsbDescriptor, UsbEndpointDescriptor) TryParse(UsbDescriptor, UsbEndpointDescriptor) TryParse(UsbDescriptor, UsbEndpointDescriptor) TryParse(UsbDescriptor, UsbEndpointDescriptor)

Retrieves the USB endpoint descriptor in a UsbEndpointDescriptor object that is contained in a UsbDescriptor object.