ExitMAXCallback2 Class Reference
 
 
 
ExitMAXCallback2 Class Reference

#include <maxapi.h>

Inheritance diagram for ExitMAXCallback2:
ExitMAXCallback MaxHeapOperators

Class Description

A callback object that will get called before the program exits.

Register an instance of this class with Interface8::RegisterExitMAXCallback. During normal shutdowns, the ExitMAXCallback::Exit method will be called. During shutdown after crash recovery, the CrashRecoverExit method will be called. Since it is being called after crash recovery, the scene may or may not be in a stable state, do only absolutely necessary actions here.

Public Member Functions

virtual void  CrashRecoverExit (HWND hWnd)=0
  Method called on shutdown after crash recovery.

Member Function Documentation

virtual void CrashRecoverExit ( HWND  hWnd ) [pure virtual]

Method called on shutdown after crash recovery.

Parameters:
[in] hWnd - MAX main window handle is passed in.