CDataRecoveryHandler::CDataRecoveryHandler

Constructs a CDataRecoveryHandler object.

CDataRecoveryHandler(
   DWORD dwRestartManagerSupportFlags,
   int nAutosaveInterval
);

Parameters

Parameter

Description

[in] dwRestartManagerSupportFlags

Indicates which options of the restart manager are supported.

[in] nAutosaveInterval

The time between autosaves. This parameter is in milliseconds.

Remarks

The MFC framework automatically creates a CDataRecoveryHandler object for your application when you use the New Project wizard. Unless you are customizing the data recovery behavior or the restart manager, you should not create a CDataRecoveryHandler object.

For more information about the support flags, see CDataRecoveryHandler Class.

Requirements

Header: afxdatarecovery.h

See Also

Reference

CDataRecoveryHandler Class

Hierarchy Chart