网站首页  词典首页

请输入您要查询的函数:

 

术语 wergetflags
释义 WerGetFlags
语法:
C++
HRESULT WINAPI WerGetFlags(
__in HANDLE hProcess,
__out PDWORD pdwFlags
);
WerGetFlags功能
检索故障报告为指定的进程设置。
参数
hProcess [in]
句柄的进程。这种处理必须有PROCESS_VM_READ或PROCESS_QUERY_INFORMATION访问权。
pdwFlags [out]
此参数可以包含一个或多个下列值。
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
WerSetFlags
Windows错误报告
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==WerGetFlags Function
Retrieves the fault reporting settings for the specified process.
Syntax
C++
HRESULT WINAPI WerGetFlags(
__in HANDLE hProcess,
__out PDWORD pdwFlags
);
Parameters
hProcess [in]
A handle to the process. This handle must have the PROCESS_VM_READ or PROCESS_QUERY_INFORMATION access right.
pdwFlags [out]
This parameter can contain 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 for the specified process. This does not show any UI.
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
WerSetFlags
Windows Error Reporting
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb513618(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:26:29