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.

UsbInterfaceDescriptor class

Describes a USB alternate setting (of an interface) in an interface descriptor. For an explanation of an interface descriptor, see Section 9.6.5 in the Universal Serial Bus Specification:

  • Table 9.15 in the Universal Serial Bus 3.0 Specification
  • Table 9.12 in the Universal Serial Bus Specification (version 2.0)

Syntax


public ref class UsbInterfaceDescriptor sealed 

Attributes

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

Members

The UsbInterfaceDescriptor class has these types of members:

Methods

The UsbInterfaceDescriptor 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 alternate setting information in a UsbInterfaceDescriptor object.
TryParse Retrieves information about the alternate setting in a UsbInterfaceDescriptor object that is contained in a UsbDescriptor object.

 

Properties

The UsbInterfaceDescriptor class has these properties.

PropertyAccess typeDescription

AlternateSettingNumber

Read-onlyGets the bAlternateSetting field of the USB interface descriptor.

ClassCode

Read-onlyGets the bInterfaceClass field of the USB interface descriptor.

InterfaceNumber

Read-onlyGets the bInterfaceNumber field of the USB interface descriptor.

ProtocolCode

Read-onlyGets the bInterfaceProtocol field of the interface descriptor.

SubclassCode

Read-onlyGets the bInterfaceSubClass field of the USB interface descriptor.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

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

Namespace

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

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft. All rights reserved.