Usbio_configuration_info – Motorola USB08 User Manual

Page 204

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

204

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

USBIO_CONFIGURATION_INFO

The USBIO_CONFIGURATION_INFO structure provides information
about all interfaces and all pipes available in the current configuration.

Definition

typedef struct _USBIO_CONFIGURATION_INFO{

ULONG NbOfInterfaces;

ULONG NbOfPipes;

USBIO_INTERFACE_CONFIGURATION_INFO

InterfaceInfo[USBIO_MAX_INTERFACES];

USBIO_PIPE_CONFIGURATION_INFO

PipeInfo[USBIO_MAX_PIPES];

} USBIO_CONFIGURATION_INFO;

Members

NbOfInterface

Contains the number of interfaces. This is the number of valid entries
in the

InterfaceInfo

structure.

NbOfPipes

Contains the number of pipes. This is the number of valid entries in
the

PipeInfo

structure.

InterfaceInfo[USBIO_MAX_INTERFACES]

An array of USBIO_INTERFACE_CONFIGURATION_INFO
(

page 200

) structures that describes the interfaces.There are

NbOfInterfaces

valid entries in this array.

PipeInfo[USBIO_MAX_PIPES]

An array of USBIO_PIPE_CONFIGURATION_INFO (

page 202

)

structures that describes the pipes. There are

NbOfPipes

valid

entries in this array.

Comments

This structure is an output of
IOCTL_USBIO_GET_CONFIGURATION_INFO (

page 166

) operations.

Only active pipes from the current configuration are returned.

Advertising