UsbDevice.SendControlOutTransferAsync UsbDevice.SendControlOutTransferAsync UsbDevice.SendControlOutTransferAsync UsbDevice.SendControlOutTransferAsync UsbDevice.SendControlOutTransferAsync Method

Definition

Overloads

SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket)

Starts a zero-length USB control transfer that writes to the default control endpoint of the device.

SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer)

Starts a USB control transfer to send data to the default control endpoint of the device.

SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket) SendControlOutTransferAsync(UsbSetupPacket)

Starts a zero-length USB control transfer that writes to the default control endpoint of the device.

public : IAsyncOperation<unsigned int> SendControlOutTransferAsync(UsbSetupPacket setupPacket)
IAsyncOperation<uint32_t> SendControlOutTransferAsync(UsbSetupPacket setupPacket) const;
public IAsyncOperation<uint> SendControlOutTransferAsync(UsbSetupPacket setupPacket)
Public Function SendControlOutTransferAsync(setupPacket As UsbSetupPacket) As IAsyncOperation(Of uint)
Windows.Devices.Usb.UsbDevice.sendControlOutTransferAsync(setupPacket).done( /* Your success and error handlers */ );

Parameters

setupPacket
UsbSetupPacket UsbSetupPacket UsbSetupPacket

A UsbSetupPacket object that contains the setup packet for the control transfer.

Returns

Returns an IAsyncOperation(UInt32) object that returns the results of the operation.

See also

SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer) SendControlOutTransferAsync(UsbSetupPacket, IBuffer)

Starts a USB control transfer to send data to the default control endpoint of the device.

public : IAsyncOperation<unsigned int> SendControlOutTransferAsync(UsbSetupPacket setupPacket, IBuffer buffer)
IAsyncOperation<uint32_t> SendControlOutTransferAsync(UsbSetupPacket setupPacket, IBuffer buffer) const;
public IAsyncOperation<uint> SendControlOutTransferAsync(UsbSetupPacket setupPacket, IBuffer buffer)
Public Function SendControlOutTransferAsync(setupPacket As UsbSetupPacket, buffer As IBuffer) As IAsyncOperation(Of uint)
Windows.Devices.Usb.UsbDevice.sendControlOutTransferAsync(setupPacket, buffer).done( /* Your success and error handlers */ );

Parameters

setupPacket
UsbSetupPacket UsbSetupPacket UsbSetupPacket

A UsbSetupPacket object that contains the setup packet for the control transfer.

buffer
IBuffer IBuffer IBuffer

A caller-supplied buffer that contains the transfer data.

Returns

Returns an IAsyncOperation(UInt32) object that returns the results of the operation.

See also