// usbscan.h
typedef struct _IO_BLOCK {
unsigned uOffset;
unsigned uLength;
PUCHAR pbyData;
unsigned uIndex;
} IO_BLOCK, *PIO_BLOCK;
View the official Windows Driver Kit DDI referenceNo description available.
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. Values contained in structure members are used to create a USB Device Request (described in the Universal Serial Bus Specification).
uOffsetUsed as the Value field of a USB Device Request.
uLengthLength of the buffer to transfer.
pbyDataPointer to a data buffer with a length of uLength.
uIndexUsed as the Index field of a USB Device Request.