网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:29:49