Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
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

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();

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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object

 

 

Show:
© 2015 Microsoft