Recipient | recipient property
Collapse the table of content
Expand the table of content

UsbControlRequestType.Recipient | recipient property

Gets or sets the recipient of the USB control transfer.

Syntax


var recipient = usbControlRequestType.recipient;
usbControlRequestType.recipient = recipient;

Property value

Type: UsbControlRecipient

The recipient of the USB control transfer.

Remarks

If the recipient is the first interface of the active configuration (DefaultInterface), SendControlInTransferAsync and SendControlOutTransferAsync methods overwrite the low byte of UsbSetupPacket.Index with the interface number of the default interface.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

UsbControlRequestType

 

 

Show:
© 2017 Microsoft