Still image USB I/O control codes
The following table lists and describes all of the I/O Control Codes recognized by the kernel-mode still image driver for USB buses.
I/O control code | Description |
---|---|
IOCTL_CANCEL_IO | Cancels activity on the specified USB transfer pipe. |
IOCTL_GET_CHANNEL_ALIGN_RQST | Returns a USB device's maximum packet size for the read, write, and interrupt transfer pipes. |
IOCTL_GET_DEVICE_DESCRIPTOR | Returns vendor and device identifiers. |
IOCTL_GET_PIPE_CONFIGURATION | Returns a description of every transfer pipe supported for a device. |
IOCTL_GET_USB_DESCRIPTOR | Returns a specified USB Descriptor. |
IOCTL_GET_VERSION | Returns the version number of the driver. |
IOCTL_READ_REGISTERS | Reads from USB device registers, using the control pipe. |
IOCTL_RESET_PIPE | Resets the specified USB transfer pipe. |
IOCTL_SEND_USB_REQUEST | Sends a vendor-defined request to a USB device, using the control pipe, and optionally sends or receives additional data. |
IOCTL_SET_TIMEOUT | Sets the time-out value for USB bulk IN, bulk OUT, or interrupt pipe access. |
IOCTL_WAIT_ON_DEVICE_EVENT | Returns information about an event occurring on a USB interrupt pipe. |
IOCTL_WRITE_REGISTERS | Writes to USB device registers, using the control pipe. |
These codes are defined in usbscan.h. For more information about these I/O control codes see:
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