- Inside Macintosh: Processes
- Chapter 8 - Shutdown Manager / The Shutdown Process
Unmounting Volumes
After saving the desk scrap, the ShutDwnPower procedure reads the Shutdown Manager's queue and executes any shutdown procedures that specify the sdOnUnmount constant. Next, ShutDwnPower searches the volume control block queue for mounted volumes. It unmounts each one by calling the File Manager functions Eject and UnmountVol. The ShutDwnPower procedure then reads the Shutdown Manager's queue and executes any shutdown procedures that specify the sdOnRestart constant, the sdOnPowerOff constant, or both.
© Apple Computer, Inc.
17 JUN 1996