术语 | applicationrecoveryinprogress |
释义 | ApplicationRecoveryInProgress 语法: C++ HRESULT WINAPI ApplicationRecoveryInProgress( __out PBOOL pbCanceled ); ApplicationRecoveryInProgress功能 表示该调用应用程序正在继续恢复数据。 参数 pbCanceled [out] 指示用户是否已经取消了恢复过程。由流行病学周报设置如果用户单击取消按钮。 返回值 这个函数返回S_OK在成功或下面的错误代码之一。 返回codeDescription E_FAILYou后,才可以调用Windows错误报告呼吁回调函数的恢复此功能。 E_INVALIDARGThe pbCancelled不能是NULL。 备注 应用程序必须调用时指定的范围内调用RegisterApplicationRecoveryCallback函数的区间此功能。如果应用程序无法调用指定的时间间隔内,这一职能,疫情周报终止应用程序。经济复苏进程能够继续下去,只要这个函数被调用。 如果用户取消恢复过程,应用程序应该终止。 表明经济复苏的进程已经完成,调用ApplicationRecoveryFinished功能。 要求: client最低支持Vista server最低支持 Windows Server 2008 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 ApplicationRecoveryFinished RegisterApplicationRecoveryCallback 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==ApplicationRecoveryInProgress Function Indicates that the calling application is continuing to recover data. Syntax C++ HRESULT WINAPI ApplicationRecoveryInProgress( __out PBOOL pbCanceled ); Parameters pbCanceled [out] Indicates whether the user has canceled the recovery process. Set by WER if the user clicks the Cancel button. Return Value This function returns S_OK on success or one of the following error codes. Return codeDescription E_FAILYou can call this function only after Windows Error Reporting has called your recovery callback function. E_INVALIDARGThe pbCancelled cannot be NULL. Remarks The application must call this function within the interval specified when calling the RegisterApplicationRecoveryCallback function. If the application fails to call this function within the specified interval, WER terminates the application. The recovery process can continue as long as this function is being called. If the user cancels the recovery process, the application should terminate. To indicate that the recovery process has been completed, call the ApplicationRecoveryFinished function. Requirements Minimum supported clientWindows Vista Minimum supported serverWindows Server 2008 HeaderWinbase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also ApplicationRecoveryFinished RegisterApplicationRecoveryCallback Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa373329(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。