Mac OS 8.5 Technote: Part XIV

Copyright 1998 by Apple Computer, Inc. All Rights Reserved.

[Previous Section] [Mac OS 8.5 Contents Page] [Next Section]

Inside the System File (Continued)

Device Manager

The Device Manager provides a programming interface for communications between applications and device drivers (typically code that communicates with particular hardware devices, although some device drivers do not actually drive devices).
  • There are three new Driver Gestalt selectors allowing developers to return, among other things, color icons for their disk drives. Table 6 describes the new selectors.


Table 6. Driver Gestalt selectors introduced in Mac OS 8.5.

Selector Name

Value

Information Returned

kdgPhysDriveIconSuite

'dics'

A pointer to a IconFamily ('icns') data structure that can be used to represent the disk driver's physical drive (formerly in csCode 22) in driverGestaltResponse.

kdgMediaIconSuite

'mics'

A pointer to a IconFamily ('icns') data structure for representing the disk driver's media (formerly in csCode 21) in driverGestaltResponse.

kdgMediaName

'mnam'

A pointer to a Pascal string describing the disk driver (formerly in csCode 21) in driverGestaltResponse.



Related Materials:

[Previous Section] [Mac OS 8.5 Contents Page] [Next Section]

To contact us, please use the Contact Us page.