-api-id | -api-type |
---|---|
M:Windows.Devices.Usb.UsbSetupPacket.#ctor(Windows.Storage.Streams.IBuffer) |
winrt method |
Creates a UsbSetupPacket object from a formatted buffer (eight bytes) that contains the setup packet.
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.