Expand Minimize

WDF_USB_REQUEST_TYPE enumeration

[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               = 1,
  WdfUsbRequestTypeDeviceString           = 2,
  WdfUsbRequestTypeDeviceControlTransfer  = 3,
  WdfUsbRequestTypeDeviceUrb              = 4,
  WdfUsbRequestTypePipeWrite              = 5,
  WdfUsbRequestTypePipeRead               = 6,
  WdfUsbRequestTypePipeAbort              = 7,
  WdfUsbRequestTypePipeReset              = 8,
  WdfUsbRequestTypePipeUrb                = 9
} WDF_USB_REQUEST_TYPE, *PWDF_USB_REQUEST_TYPE;

Constants

WdfUsbRequestTypeInvalid

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

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfusb.h (include Wdfusb.h)

See also

WDF_USB_REQUEST_COMPLETION_PARAMS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.