WDF_USB_REQUEST_TYPE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdfusb-_wdf_usb_request_type)

_WDF_USB_REQUEST_TYPE enumeration (wdfusb.h)

Description

[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.

Constants

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.

Remarks

The WDF_USB_REQUEST_TYPE enumeration is used in the WDF_USB_REQUEST_COMPLETION_PARAMS structure.

See also

WDF_USB_REQUEST_COMPLETION_PARAMS


Windows Driver Kit DDI reference (ne-wudfusb-_wdf_usb_request_type)

_WDF_USB_REQUEST_TYPE enumeration (wudfusb.h)

Description

[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.

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.