Bewerken

Delen via


WDF_USB_BMREQUEST_RECIPIENT enumeration (wdfusb.h)

[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 = 0,
  BmRequestToInterface,
  BmRequestToEndpoint,
  BmRequestToOther
} WDF_USB_BMREQUEST_RECIPIENT;

Constants

 
BmRequestToDevice
Value: 0
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

Requirement Value
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfusb.h (include Wdfusb.h)

See also

WDF_USB_CONTROL_SETUP_PACKET