PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

Driver Type Structure

The DriverType structure contains name and version information about a driver, which is used to match the driver to a specific device. For further information about driver matching, see Matching Drivers With Devices.

struct DriverType {
                     Str31 nameInfoStr;
                     NumVersion version;
                     }

typedef UInt32      DeviceTypeMember;
typedef struct      DriverType DriverType;
typedef struct      DriverType *DriverTypePtr;

Field descriptions

nameInfoStr
Name used to identify the driver and distinguish between various versions of the driver when an expert is searching for drivers. This string of type Str31 is used to match the name property in the Name Registry.
version
Version resource used to obtain the newest driver when several identically named drivers (that is, drivers with the same value of nameInfoStr ) are available.

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)