Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UsbEndpointDescriptor class

Applies to Windows only

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)

Syntax


var usbEndpointDescriptor = Windows.Devices.Usb.UsbEndpointDescriptor;

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The UsbEndpointDescriptor class has these types of members:

Methods

The UsbEndpointDescriptor class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Parse Parses the specified USB descriptor and returns the USB endpoint descriptor in a UsbEndpointDescriptor object.
TryParse Retrieves the USB endpoint descriptor in a UsbEndpointDescriptor object that is contained in a UsbDescriptor object.

 

Properties

The UsbEndpointDescriptor class has these properties.

PropertyAccess typeDescription

AsBulkInEndpointDescriptor

Read-onlyGets an object that represents the endpoint descriptor for the USB bulk IN endpoint.

AsBulkOutEndpointDescriptor

Read-onlyGets an object that represents the endpoint descriptor for the USB bulk OUT endpoint.

AsInterruptInEndpointDescriptor

Read-onlyGets an object that represents the endpoint descriptor for the USB interrupt IN endpoint.

AsInterruptOutEndpointDescriptor

Read-onlyGets an object that represents the endpoint descriptor for the USB interrupt OUT endpoint.

Direction

Read-onlyGets the direction of the USB endpoint.

EndpointNumber

Read-onlyGets the USB endpoint number.

EndpointType

Read-onlyGets the type of USB endpoint.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft. All rights reserved.