Export (0) Print
Expand All
Expand Minimize

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.

Header: afxwin.h

Show:
© 2014 Microsoft