WDF_USB_BMREQUEST_RECIPIENT enumeration
[Applies to KMDF and UMDF]
The WDF_USB_BMREQUEST_RECIPIENT enumeration identifies the data transfer recipient for a USB control transfer.
Syntax
typedef enum _WDF_USB_BMREQUEST_RECIPIENT { BmRequestToDevice = BMREQUEST_TO_DEVICE, BmRequestToInterface = BMREQUEST_TO_INTERFACE, BmRequestToEndpoint = BMREQUEST_TO_ENDPOINT, BmRequestToOther = BMREQUEST_TO_OTHER } WDF_USB_BMREQUEST_RECIPIENT;
Constants
- BmRequestToDevice
-
The data transfer recipient is a device.
- BmRequestToInterface
-
The data transfer recipient is a device interface.
- BmRequestToEndpoint
-
The data transfer recipient is a pipe endpoint.
- BmRequestToOther
-
The data transfer recipient is not a device, interface, or endpoint.
Remarks
TheWDF_USB_BMREQUEST_RECIPIENT enumeration is used in the WDF_USB_CONTROL_SETUP_PACKET structure.
For more information about the data transfer recipient for a USB control transfer, see the USB specification.
Requirements
Minimum KMDF version | 1.0 |
---|---|
Minimum UMDF version | 2.0 |
Header |
|
See also
Show: