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.UsbSetupPacket(IBuffer) constructor

Applies to Windows only

Creates a UsbSetupPacket object from a formatted buffer (eight bytes) that contains the setup packet.

Syntax


var usbSetupPacket = new Windows.Devices.Usb.UsbSetupPacket(eightByteBuffer);

Parameters

eightByteBuffer

Type: IBuffer

A caller-supplied buffer that contains the setup packet formatted as per the standard USB specification. The length of the buffer must be eight bytes because that is the size of a setup packet on the bus.

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
UsbSetupPacket

 

 

Show:
© 2014 Microsoft