USBSCAN_PIPE_INFORMATION structure

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.

Syntax

typedef struct _USBSCAN_PIPE_INFORMATION {
  USHORT        MaximumPacketSize;
  UCHAR         EndpointAddress;
  UCHAR         Interval;
  RAW_PIPE_TYPE PipeType;
} USBSCAN_PIPE_INFORMATION, *PUSBSCAN_PIPE_INFORMATION;

Members

MaximumPacketSize

Maximum packet size for the transfer pipe.

EndpointAddress

The 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.

Interval

Polling interval, in milliseconds, for interrupt pipes. For more information, see the Universal Serial Bus Specification.

PipeType

A RAW_PIPE_TYPE-typed value identifying the pipe type.

Requirements

   
Header usbscan.h (include Usbscan.h)

See Also

RAW_PIPE_TYPE

USBSCAN_PIPE_CONFIGURATION