Share via


CDataRecoveryHandler::SetShutdownByRestartManager

Sets whether the previous exit of the application was caused by the restart manager.

virtual void SetShutdownByRestartManager(
   BOOL bShutdownByRestartManager
);

Parameters

Parameter

Description

[in] bShutdownByRestartManager

TRUE to indicate that the restart manager caused the application to exit; FALSE to indicate that the application exited for another reason.

Remarks

The framework behaves differently based on whether the previous exit was unexpected or whether it was initiated by the restart manager.

Requirements

Header: afxdatarecovery.h

See Also

Reference

CDataRecoveryHandler Class

Hierarchy Chart

CDataRecoveryHandler::GetShutdownByRestartManager