Share via


CWinApp::GetApplicationRestartFlags

Returns the flags for the restart manager.

virtual DWORD GetApplicationRestartFlags();

Return Value

The flags for the restart manager. The default implementation returns 0.

Remarks

The flags for the restart manager have no effect with the default implementation. They are provided for future use.

You set the flags when you register the application with the restart manager by using CWinApp::RegisterWithRestartManager.

The possible values for the restart manager flags are as follows:

  • RESTART_NO_CRASH

  • RESTART_NO_HANG

  • RESTART_NO_PATCH

  • RESTART_NO_REBOOT

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart

CWinApp::RegisterWithRestartManager