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:

USB still image I/O control codes