Usbio_driver_info – Motorola USB08 User Manual

Page 186

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

186

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

USBIO_DRIVER_INFO

The USBIO_DRIVER_INFO structure contains version information
about the driver binary and the programming interface.

Definition

typedef struct _USBIO_DRIVER_INFO{

USHORT APIVersion;

USHORT DriverVersion;

ULONG DriverBuildNumber;

ULONG Flags;

} USBIO_DRIVER_INFO;

Members

APIVersion

Contains the version number of the application programming
interface (API) the driver supports.

The format is as follows: upper 8 bit = major version,
lower 8 bit = minor version. The numbers are encoded in BCD format.

DriverVersion

Contains the version number of the driver executable.

The format is as follows: upper 8 bit = major version,
lower 8-bit = minor version.

DriverBuildNumber

Contains the build number of the driver executable.

Flags

This field contains zero or any combination (bit-wise or) of the
following values.

USBIO_INFOFLAG_CHECKED_BUILD

If this flag is set, the driver that is currently running is a checked
(debug) build.

USBIO_INFOFLAG_DEMO_VERSION

If this flag is set,the driver that is currently running is a DEMO
version that has some restrictions. Refer to ReadMe.txt for a
description of the restrictions.

USBIO_INFOFLAG_LIGHT_VERSION

If this flag is set, the driver that is currently running is a LIGHT
version that has some restrictions. Refer to ReadMe.txt for a
description of the restrictions.

Comments

This structure is an output of the IOCTL_USBIO_GET_DRIVER_INFO
(

page 171

) operation.

Advertising