usbscan.h header
This header is used by image. For more information, see:
usbscan.h contains the following programming interfaces:
IOCTLs
IOCTL_ABORT_PIPE Learn more about: IOCTL_ABORT_PIPE IOCTL |
IOCTL_CANCEL_IO Cancels activity on the specified USB transfer pipe that is associated with the specified device handle. |
IOCTL_GET_CHANNEL_ALIGN_RQST Returns a USB device's maximum packet size for the read, write, and interrupt transfer pipes associated with the specified device handle. |
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_INDEX Learn more about: IOCTL_INDEX IOCTL |
IOCTL_READ_REGISTERS Reads from USB device registers, using the control pipe. |
IOCTL_RESET_PIPE Resets the specified USB transfer pipe that is associated with the specified device handle. |
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. |
Structures
CHANNEL_INFO The CHANNEL_INFO structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_GET_CHANNEL_ALIGN_RQST. |
DEVICE_DESCRIPTOR The DEVICE_DESCRIPTOR structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_GET_DEVICE_DESCRIPTOR. |
DRV_VERSION The DRV_VERSION structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_GET_VERSION. |
IO_BLOCK The IO_BLOCK structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_READ_REGISTERS or IOCTL_WRITE_REGISTERS. |
IO_BLOCK_EX The IO_BLOCK_EX structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_SEND_USB_REQUEST. |
USBSCAN_GET_DESCRIPTOR The USBSCAN_GET_DESCRIPTOR structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_GET_USB_DESCRIPTOR. |
USBSCAN_PIPE_CONFIGURATION The USBSCAN_PIPE_CONFIGURATION structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_GET_PIPE_CONFIGURATION. |
USBSCAN_PIPE_INFORMATION The USBSCAN_PIPE_INFORMATION structure is used to describe a USB transfer pipe for a still image device. An array of USBSCAN_PIPE_INFORMATION structures is supplied within a USBSCAN_PIPE_CONFIGURATION structure. |
USBSCAN_TIMEOUT The USBSCAN_TIMEOUT structure stores time-out values for USB bulk IN and bulk OUT operations, and interrupts. |
Enumerations
PIPE_TYPE The PIPE_TYPE data type is used as input to the DeviceIoControl function, if the I/O control code is IOCTL_CANCEL_IO or IOCTL_RESET_PIPE. |
RAW_PIPE_TYPE The RAW_PIPE_TYPE data type is used to specify the type of a USB pipe. |