网站首页  词典首页

请输入您要查询的函数:

 

术语 wersetflags
释义 WerSetFlags
语法:
C++
HRESULT WINAPI WerSetFlags(
__in DWORD dwFlags
);
WerSetFlags功能
设置故障报告当前进程设置。
参数
dwFlags [in]
故障报告的设置。您可以指定一个或多个以下值:
ValueMeaning
WER_FAULT_REPORTING_FLAG_DISABLE_THREAD_SUSPENSIONDo不会暂停之前报告错误的进程线程。
WER_FAULT_REPORTING_FLAG_NOHEAPDo没有收集在一个应用程序崩溃时堆信息或挂起。
WER_FAULT_REPORTING_FLAG_QUEUEQueue关键报告。
WER_FAULT_REPORTING_FLAG_QUEUE_UPLOADQueue关键报告并上传队列。
WER_FAULT_REPORTING_ALWAYS_SHOW_UIAlways显示错误报告为这一进程的UI。这是适用于交互式应用程序只。
返回值
这个函数返回S_OK的成功或失败的错误代码。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWerapi.h
LibraryKernel32.lib
DLLKernel32.dll
参见
WER Functions
WerGetFlags
Windows错误报告
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==WerSetFlags Function
Sets the fault reporting settings for the current process.
Syntax
C++
HRESULT WINAPI WerSetFlags(
__in DWORD dwFlags
);
Parameters
dwFlags [in]
The fault reporting settings. You can specify one or more of the following values:
ValueMeaning
WER_FAULT_REPORTING_FLAG_DISABLE_THREAD_SUSPENSIONDo not suspend the process threads before reporting the error.
WER_FAULT_REPORTING_FLAG_NOHEAPDo not collect heap information in the event of an application crash or hang.
WER_FAULT_REPORTING_FLAG_QUEUEQueue critical reports.
WER_FAULT_REPORTING_FLAG_QUEUE_UPLOADQueue critical reports and upload from the queue.
WER_FAULT_REPORTING_ALWAYS_SHOW_UIAlways show error reporting UI for this process. This is applicable for interactive applications only.

Return Value
This function returns S_OK on success or an error code on failure.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWerapi.h
LibraryKernel32.lib
DLLKernel32.dll
See Also
WER Functions
WerGetFlags
Windows Error Reporting
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb513629(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 11:23:09