[comp.sys.mac.programmer] Where are disk icons kept?

lefty@twg.com (David N. Schlesinger) (07/07/90)

In article <Jun.18.16.11.32.1990.9178@topaz.rutgers.edu> 
jjoshua@topaz.rutgers.edu (Jon Joshua) writes:
> Where in memory is the drive's icon?

It's not necessarily _in_ memory.  Or at least, you can't directly tell _where_ in memory it's liable to be...

The driver for the disk supplies the icon in response to a _Control call with a csCode of 21 or 22.  The icon returned for csCode 21 is meant to represent the volume media; the icon returned for csCode=22 is meant to represent the physical drive.

This is documented in IM 5, pp. 469-471...

Lefty

|<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|
|           David N. Schlesinger   ||   "When I have nothing to say,       |
|           The Wollongong Group   ||    my lips are sealed;               |
| Internet: Lefty@twg.com          ||    say something once,               |
| POTS:     415/962-7219           ||    why say it again?" -- David Byrne |
|<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|