网站首页  词典首页

请输入您要查询的函数:

 

术语 reportfault
释义 ReportFault
语法:
C++
EFaultRepRetVal ReportFault(
__in LPEXCEPTION_POINTERS pep,
__in DWORD dwMode
);
ReportFault功能
[此功能已经过时,但兼容性可用。 ]
使应用程序的执行自己的异常处理故障报告给Microsoft。虽然您可以使用此函数来报告应用程序崩溃,Windows XP的开始,因此建议应用程序不直接处理致命的错误,而是依靠报告由操作系统提供的功能崩溃。
参数
打气 [in]
对一个EXCEPTION_POINTERS结构的指针。
dwMode [in]
这个参数是保留给系统使用,而且应该设置为零。
返回值
这个函数返回下列值之一。
返回codeDescription
frrvErrThe函数失败,但错误报告客户端发起。
frrvErrNoDWThe错误报告客户端无法启动。该系统将执行其默认显示等标准异常对话框并启动调试的行动。
frrvErrTimeoutThe功能超时。
frrvLaunchDebuggerThe功能和用户成功地发射了调试。
frrvOkThe功能成功。
frrvOkHeadlessThe功能成功,客户端的错误报告是在无声报告模式(没有用户界面使用发射)。
frrvOkManifestThe功能成功,客户端的错误报告是体现报告模式启动。
frrvOkQueuedThe功能成功和故障报告后报告排队。
这些返回值报告表明是否申请成功发射。成功的返回值并不一定表明该断层成功报道。
备注
在调用这个函数就如何用户或系统管理员已配置的错误报告系统依靠准确的结果。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderErrorRep.h
LibraryFaultrep.lib
DLLFaultrep.dll
参见
AddERExcludedApplication
EXCEPTION_POINTERS
WER Functions
Windows错误报告
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ReportFault Function
[This function is obsolete but is available for compatibility. ]
Enables an application that performs its own exception handling to report faults to Microsoft. Although you can use this function to report application crashes, beginning with Windows XP, it is recommended that applications do not handle fatal errors directly but instead rely on the crash reporting capability provided by the operating system.
Syntax
C++
EFaultRepRetVal ReportFault(
__in LPEXCEPTION_POINTERS pep,
__in DWORD dwMode
);
Parameters
pep [in]
A pointer to an EXCEPTION_POINTERS structure.
dwMode [in]
This parameter is reserved for system use and should be set to zero.
Return Value
This function returns one of the following values.
Return codeDescription
frrvErrThe function failed but the error reporting client was launched.
frrvErrNoDWThe error reporting client was unable to launch. The system will perform its default actions, such as displaying the standard exception dialog box and launching the debugger.
frrvErrTimeoutThe function timed out.
frrvLaunchDebuggerThe function succeeded and the user launched the debugger.
frrvOkThe function succeeded.
frrvOkHeadlessThe function succeeded and the error reporting client was launched in silent reporting mode (no UI is used).
frrvOkManifestThe function succeeded and the error reporting client was launched in manifest reporting mode.
frrvOkQueuedThe function succeeded and the fault report was queued for later reporting.

These return values indicate whether the reporting application was successfully launched. A successful return value does not necessarily indicate that the fault was successfully reported.
Remarks
The exact result of calling this function depends on how the user or system administrator has configured the error reporting system.
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderErrorRep.h
LibraryFaultrep.lib
DLLFaultrep.dll
See Also
AddERExcludedApplication
EXCEPTION_POINTERS
WER Functions
Windows Error Reporting
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb513615(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:20:18