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.

UsbControlRequestType class

Applies to Windows only

Provides information about the USB control transfer, the type of control request, whether the data is sent from or to the host, and the recipient of the request in the device.

Syntax


var usbControlRequestType = new Windows.Devices.Usb.UsbControlRequestType();

Attributes

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

Members

The UsbControlRequestType class has these types of members:

Constructors

The UsbControlRequestType class has these constructors.

ConstructorDescription
UsbControlRequestType Creates a UsbControlRequestType object.

 

Properties

The UsbControlRequestType class has these properties.

PropertyAccess typeDescription

AsByte

Read/writeGets or sets the bmRequestType value as a byte.

ControlTransferType

Read/writeGets or sets the type of USB control transfer: standard, class, or vendor.

Direction

Read/writeGets or sets the direction of the USB control transfer.

Recipient

Read/writeGets or sets the recipient of the USB control transfer.

 

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