Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.