Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CWinApp::GetApplicationRecoveryPingInterval

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.