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


  

Driver Services Structure

The DriverOSService structure describes the services supported by the driver that are available to other software. Each device family has a particular set of required and supported services. A driver may support more than one set of services. In such cases, nServices should be set to indicate the number of different sets of services that the driver supports.

struct DriverOSService {
                     ServiceCount nServices;
                     DriverServiceInfo service[1];
                     };

typedef UInt32 ServiceCount;
typedef struct DriverOSService DriverOSService;
typedef struct DriverOSService *DriverOSServicePtr;

Field descriptions

nServices
The number of services supported by this driver. This field is used to determine the size of the service array that follows.
service
An array of DriverServiceInfo structures that specifies the supported programming interface sets.

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