// 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 referenceNo 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:0For internal use only.
WdfUsbRequestTypeNoFormatThis value is not used.
WdfUsbRequestTypeDeviceStringA request to obtain a device's Unicode strings.
WdfUsbRequestTypeDeviceControlTransferA request to send a control transfer.
WdfUsbRequestTypeDeviceUrbA request to send a URB to a device.
WdfUsbRequestTypePipeWriteA request to write to a pipe.
WdfUsbRequestTypePipeReadA request to read from a pipe.
WdfUsbRequestTypePipeAbortA request to stop a pipe.
WdfUsbRequestTypePipeResetA request to reset a pipe.
WdfUsbRequestTypePipeUrbA 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.
WdfUsbRequestTypeInvalidThe type of the request object is invalid.
WdfUsbRequestTypeNoFormatThe request object is not formatted.
WdfUsbRequestTypeDeviceControlTransferThe request object is sent when the application calls the Win32 DeviceIoControl function on the file object that is associated with the target device.
WdfUsbRequestTypePipeWriteThe 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.
WdfUsbRequestTypePipeReadThe 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.