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 class
Describes the setup packet for a USB control transfer. For an explanation of the setup packet, see Table 9.2 in the Universal Serial Bus (USB) specification.
Syntax
public ref class UsbSetupPacket sealed
Attributes
- [DualApiPartition()]
- [MarshalingBehavior(Agile)]
- [Version(0x06030000)]
Members
The UsbSetupPacket class has these types of members:
Constructors
The UsbSetupPacket class has these constructors.
Constructor | Description |
---|---|
UsbSetupPacket() | Creates a UsbSetupPacket object. |
UsbSetupPacket(IBuffer) | Creates a UsbSetupPacket object from a formatted buffer (eight bytes) that contains the setup packet. |
Methods
The UsbSetupPacket class inherits methods from the Object class (C#/VB/C++).
Properties
The UsbSetupPacket class has these properties.
Property | Access type | Description |
---|---|---|
Read/write | Gets or sets the wIndex field in the setup packet of the USB control transfer. | |
Read/write | Gets the length, in bytes, of the setup packet. | |
Read/write | Gets or sets the bRequest field in the setup packet of the USB control transfer. | |
Read/write | Gets or sets the bmRequestType field in the setup packet of the USB control transfer. That field is represented by a UsbControlRequestType object. | |
Read/write | Gets or sets the wValue field in the setup packet 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] |
Namespace |
|
Metadata |
|
See also
Show: