// usbscan.h
typedef struct _USBSCAN_TIMEOUT {
ULONG TimeoutRead;
ULONG TimeoutWrite;
ULONG TimeoutEvent;
} USBSCAN_TIMEOUT, *PUSBSCAN_TIMEOUT;
View the official Windows Driver Kit DDI referenceNo description available.
The USBSCAN_TIMEOUT structure stores time-out values for USB bulk IN and bulk OUT operations, and interrupts.
TimeoutReadSpecifies the number of seconds to wait for a read operation to time out.
TimeoutWriteSpecifies the number of seconds to wait for a write operation to time out.
TimeoutEventSpecifies the number of seconds to wait for an interrupt to occur.
A value of zero means to wait forever for the read or write operation or interrupt.
The USBSCAN_TIMEOUT structure is used as a parameter to DeviceIoControl, when the specified I/O control code is IOCTL_SET_TIMEOUT.