WDF_USB_REQUEST_TYPE enumeration (wudfusb.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The WDF_USB_REQUEST_TYPE enumeration contains values that identify a type of USB request object.

Syntax

typedef enum _WDF_USB_REQUEST_TYPE {
  WdfUsbRequestTypeInvalid,
  WdfUsbRequestTypeNoFormat,
  WdfUsbRequestTypeDeviceControlTransfer,
  WdfUsbRequestTypePipeWrite,
  WdfUsbRequestTypePipeRead
} WDF_USB_REQUEST_TYPE, *PWDF_USB_REQUEST_TYPE;

Constants

 
WdfUsbRequestTypeInvalid
The type of the request object is invalid.
WdfUsbRequestTypeNoFormat
The request object is not formatted.
WdfUsbRequestTypeDeviceControlTransfer
The request object is sent when the application calls the Win32 DeviceIoControl function on the file object that is associated with the target device.
WdfUsbRequestTypePipeWrite
The request object is sent when the application calls the Win32 WriteFile or WriteFileEx function on the file object that is associated with the target device.
WdfUsbRequestTypePipeRead
The request object is sent when the application calls the Win32 ReadFile or ReadFileEx function on the file object that is associated with the target device.

Requirements

Requirement Value
Header wudfusb.h (include Wudfusb.h)