WDF_USB_REQUEST_TYPE enumeration (wdfusb.h)
[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.
Syntax
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;
Constants
WdfUsbRequestTypeInvalid Value: 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. |
Remarks
The WDF_USB_REQUEST_TYPE enumeration is used in the WDF_USB_REQUEST_COMPLETION_PARAMS structure.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfusb.h (include Wdfusb.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for