CWinApp::GetDataRecoveryHandler
TOC
Collapse the table of content
Expand the table of content

CWinApp::GetDataRecoveryHandler

 

Gets the data recovery handler for this instance of the application.

virtual CDataRecoveryHandler *GetDataRecoveryHandler();

The data recovery handler for this instance of the application.

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.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft