Control Recipient Enum
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.
public enum class UsbControlRecipient
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] enum class UsbControlRecipient
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] public enum UsbControlRecipient
var value = Windows.Devices.Usb.UsbControlRecipient.device
Public Enum UsbControlRecipient
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
The recipient of the control transfer is the default (or the first) USB interface in the selected configuration of the device.If the recipient is the first interface of the active configuration (@"Windows.Devices.Usb.UsbDevice.DefaultInterface?text=DefaultInterface" ), SendControlInTransferAsync and SendControlOutTransferAsync methods overwrite the low byte of UsbSetupPacket.Index with the interface number of the default interface.
By using this value, an app can omit the interface number in an interface-recipient request.
The recipient of the control transfer is the device.
The recipient of the control transfer is an endpoint.
The recipient of the control transfer is other.
The recipient of the control transfer is the USB interface that is specified in the request.
For conceptual information about USB control transfers, see "About the default endpoint" and "Layout of a control transfer" in How to send a USB control transfer.