The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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