Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Returns the length of time that the restart manager waits for the recovery callback function to return.

virtual DWORD GetApplicationRecoveryPingInterval();

The length of time in milliseconds.

When an application that is registered with the restart manager exits unexpectedly, the application tries to save open documents and calls the recovery callback function. The default recovery callback function is CWinApp::ApplicationRecoveryCallback.

The length of time that the framework waits for the recovery callback function to return is the ping interval. You can customize the ping interval by overriding CWinApp::GetApplicationRecoveryPingInterval or by providing a custom value to RegisterWithRestartManager.

Header: afxwin.h

© 2015 Microsoft