WDF_USB_BMREQUEST_TYPE enumeration (wdfusb.h)

[Applies to KMDF and UMDF]

The WDF_USB_BMREQUEST_TYPE enumeration identifies the data transfer type for a USB control transfer.

Syntax

typedef enum _WDF_USB_BMREQUEST_TYPE {
  BmRequestStandard = 0,
  BmRequestClass,
  BmRequestVendor
} WDF_USB_BMREQUEST_TYPE;

Constants

 
BmRequestStandard
Value: 0
The data transfer is a standard USB control transfer.
BmRequestClass
The data transfer is a device class-specific USB control transfer.
BmRequestVendor
The data transfer is a vendor-specific USB control transfer.

Remarks

The WDF_USB_BMREQUEST_TYPE enumeration is used in the WDF_USB_CONTROL_SETUP_PACKET structure.

For more information about data transfer types 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