Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

UsbEndpointDescriptor Class

Definition

Namespace:
Windows.Devices.Usb

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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 ref class UsbEndpointDescriptor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UsbEndpointDescriptor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UsbEndpointDescriptor
Public NotInheritable Class UsbEndpointDescriptor
Inheritance
Object Platform::Object IInspectable UsbEndpointDescriptor
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Name Description
AsBulkInEndpointDescriptor

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

AsBulkOutEndpointDescriptor

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

AsInterruptInEndpointDescriptor

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

AsInterruptOutEndpointDescriptor

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

Direction

Gets the direction of the USB endpoint.

EndpointNumber

Gets the USB endpoint number.

EndpointType

Gets the type of USB endpoint.

Methods

Name Description
Parse(UsbDescriptor)

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

TryParse(UsbDescriptor, UsbEndpointDescriptor)

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

Applies to


Feedback

Was this page helpful?