Important: The information in this document is obsolete and should not be used for new development.
Application-Defined RoutineWhile the computer is restarting or shutting down, you can provide a custom shutdown procedure to perform any housekeeping tasks that your device driver or system extension requires. For example, your device driver might have to park the drive head or your system extension might have to write some statistics to a log. However, under normal circumstances, applications don't need to use a custom shutdown procedure.
- Shutdown Procedures