WDF_USB_BMREQUEST_DIRECTION enumeration (wdfusb.h)
[Applies to KMDF and UMDF]
The WDF_USB_BMREQUEST_DIRECTION enumeration identifies the data transfer direction for a USB control transfer.
Syntax
typedef enum _WDF_USB_BMREQUEST_DIRECTION {
BmRequestHostToDevice = 0,
BmRequestDeviceToHost
} WDF_USB_BMREQUEST_DIRECTION;
Constants
BmRequestHostToDevice Value: 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.
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