CWinApp::GetDataRecoveryHandler
Visual Studio 2012
Gets the data recovery handler for this instance of the application.
virtual CDataRecoveryHandler *GetDataRecoveryHandler();
Each application that uses the restart manager must have one instance of the CDataRecoveryHandler Class. This class is responsible for monitoring open documents and autosaving files. The behavior of the CDataRecoveryHandler depends on the configuration of the restart manager. For more information, see CDataRecoveryHandler Class.
This method returns NULL on operating systems earlier than Windows Vista. The restart manager is not supported on operating systems earlier than Windows Vista.
If the application does not currently have a data recovery handler, this method creates one and returns a pointer to it.