WDF_USB_BMREQUEST_DIRECTION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfusb.h

typedef enum _WDF_USB_BMREQUEST_DIRECTION {
  BmRequestHostToDevice = 0,
  BmRequestDeviceToHost
} WDF_USB_BMREQUEST_DIRECTION;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

_WDF_USB_BMREQUEST_DIRECTION enumeration

Description

[Applies to KMDF and UMDF]

The WDF_USB_BMREQUEST_DIRECTION enumeration identifies the data transfer direction for a USB control transfer.

Constants

BmRequestHostToDevice:0

The data transfer direction is from the host system to the device.

BmRequestDeviceToHost

The data transfer direction is from the device to the host system.

Remarks

The WDF_USB_BMREQUEST_DIRECTION enumeration is used in the WDF_USB_CONTROL_SETUP_PACKET structure.

For more information about the data transfer direction for a USB control transfer, see the USB specification.

See also

WDF_USB_CONTROL_SETUP_PACKET