UsbSetupPacket Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UsbSetupPacket() |
Creates a UsbSetupPacket object. |
UsbSetupPacket(IBuffer) |
Creates a UsbSetupPacket object from a formatted buffer (eight bytes) that contains the setup packet. |
UsbSetupPacket()
Creates a UsbSetupPacket object.
public:
UsbSetupPacket();
UsbSetupPacket();
public UsbSetupPacket();
function UsbSetupPacket()
Public Sub New ()
See also
Applies to
UsbSetupPacket(IBuffer)
Creates a UsbSetupPacket object from a formatted buffer (eight bytes) that contains the setup packet.
public:
UsbSetupPacket(IBuffer ^ eightByteBuffer);
UsbSetupPacket(IBuffer const& eightByteBuffer);
public UsbSetupPacket(IBuffer eightByteBuffer);
function UsbSetupPacket(eightByteBuffer)
Public Sub New (eightByteBuffer As IBuffer)
Parameters
- eightByteBuffer
- 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.