PM_setFatalErrorCleanup

Add a user defined PM_fatalError cleanup function.

Declaration

void PMAPI PM_setFatalErrorCleanup(
    void (PMAPIP cleanup)(void));
void    PMAPI PM_setFatalErrorCleanup(PM_fatalCleanupHandler cleanup)

Prototype In

pmapi.h

Parameters

cleanup

New fatal error cleanup function to use

 

Description

This function is provided to allow a user defined fatal error cleanup function to be registered. If any code call PM_fatalError, this cleanup function will be called first, allowing the cleanup function to put the operating system back into a valid state before displaying the fatal error message.

See Also

PM_fatalError

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com