// wdfusb.h
typedef enum _WDF_USB_REQUEST_TYPE {
WdfUsbRequestTypeInvalid = 0,
WdfUsbRequestTypeNoFormat,
WdfUsbRequestTypeDeviceString,
WdfUsbRequestTypeDeviceControlTransfer,
WdfUsbRequestTypeDeviceUrb,
WdfUsbRequestTypePipeWrite,
WdfUsbRequestTypePipeRead,
WdfUsbRequestTypePipeAbort,
WdfUsbRequestTypePipeReset,
WdfUsbRequestTypePipeUrb
} WDF_USB_REQUEST_TYPE, *PWDF_USB_REQUEST_TYPE;
View the official Windows Driver Kit DDI reference
// wudfusb.h
typedef enum _WDF_USB_REQUEST_TYPE {
WdfUsbRequestTypeInvalid,
WdfUsbRequestTypeNoFormat,
WdfUsbRequestTypeDeviceControlTransfer,
WdfUsbRequestTypePipeWrite,
WdfUsbRequestTypePipeRead
} WDF_USB_REQUEST_TYPE, *PWDF_USB_REQUEST_TYPE;
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF and UMDF]
The WDF_USB_REQUEST_TYPE enumeration identifies the types of USB requests that a framework-based driver can send to a USB I/O target.
WdfUsbRequestTypeInvalid:0
For internal use only.
WdfUsbRequestTypeNoFormat
This value is not used.
WdfUsbRequestTypeDeviceString
A request to obtain a device's Unicode strings.
WdfUsbRequestTypeDeviceControlTransfer
A request to send a control transfer.
WdfUsbRequestTypeDeviceUrb
A request to send a URB to a device.
WdfUsbRequestTypePipeWrite
A request to write to a pipe.
WdfUsbRequestTypePipeRead
A request to read from a pipe.
WdfUsbRequestTypePipeAbort
A request to stop a pipe.
WdfUsbRequestTypePipeReset
A request to reset a pipe.
WdfUsbRequestTypePipeUrb
A request to send a URB to a pipe.
The WDF_USB_REQUEST_TYPE enumeration is used in the WDF_USB_REQUEST_COMPLETION_PARAMS structure.
WDF_USB_REQUEST_COMPLETION_PARAMS
[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.
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.