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.

UsbSetupPacket.RequestType | requestType property

Applies to Windows only

Gets or sets the bmRequestType field in the setup packet of the USB control transfer. That field is represented by a UsbControlRequestType object.

Syntax


var requestType = usbSetupPacket.requestType;
usbSetupPacket.requestType = requestType;

Property value

Type: UsbControlRequestType

The bmRequestType field in the setup packet. The values that are assigned to this field are described in Table 9.2 and section 9.3.1 of the Universal Serial Bus (USB) specification.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

UsbSetupPacket

 

 

Show:
© 2014 Microsoft