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 / Shutdown Manager Reference
Shutdown Manager Routines / Installing or Removing a Shutdown Procedure


ShutDwnRemove

The ShutDwnRemove procedure removes a shutdown procedure that you have previously installed by calling ShutDwnInstall.

PROCEDURE ShutDwnRemove (shutDownProc: ProcPtr);
shutDownProc
A pointer to your shutdown procedure.
DESCRIPTION
The ShutDwnRemove procedure removes the shutdown procedure pointed to by the shutDownProc parameter. The ShutDwnRemove procedure is useful for removing a shutdown procedure when the device controlled by the driver that installed the shutdown procedure is not operating.

If you have specified that your procedure should be executed at several points during the shutdown process (for instance, before unmounting at restart and before unmounting at power off), ShutDwnRemove removes it at all points.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the ShutDwnRemove procedure are
Trap macroSelector
_Shutdown $0004


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUN 1996