Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Processes
Chapter 8 - Shutdown Manager


Using the Shutdown Manager

The Shutdown Manager provides four procedures. The procedures ShutDwnPower and ShutDwnStart perform the same set of shutdown tasks, except that ShutDwnPower turns off a Macintosh computer, whereas ShutDwnStart restarts it. The ShutDwnInstall routine installs a custom shutdown procedure to perform a certain task before the computer shuts down or restarts. The ShutDwnPower or ShutDwnRestart routine calls your shutdown procedure at a predetermined point during the shutdown or restart process. The last procedure, ShutDwnRemove, removes custom shutdown procedures installed by ShutDwnInstall.

WARNING
Usually, only the Finder or other system software should call ShutDwnPower and ShutDwnInstall. An application calling these procedures will cause other open applications to terminate abruptly, potentially destroying their data. ·

Subtopics
Sending a Shutdown or Restart Event
Installing a Custom Shutdown Procedure


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUN 1996