// usbscan.h
typedef struct _USBSCAN_PIPE_INFORMATION {
USHORT MaximumPacketSize;
UCHAR EndpointAddress;
UCHAR Interval;
RAW_PIPE_TYPE PipeType;
} USBSCAN_PIPE_INFORMATION, *PUSBSCAN_PIPE_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
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.
MaximumPacketSizeMaximum packet size for the transfer pipe.
EndpointAddressThe address of the pipe's endpoint. The address is encoded as follows:
| Bits | Definition |
|---|---|
| 0..3 | Endpoint number. |
| 4..6 | Reserved, set to 0. |
| 7 | Direction, ignored for control endpoints: 0 - OUT endpoint 1 - IN endpoint |
For more information, see the Universal Serial Bus Specification.
IntervalPolling interval, in milliseconds, for interrupt pipes. For more information, see the Universal Serial Bus Specification.
PipeTypeA RAW_PIPE_TYPE-typed value identifying the pipe type.