网站首页  词典首页

请输入您要查询的函数:

 

术语 getexceptioninformation
释义 GetExceptionInformation
语法:
C++
LPEXCEPTION_POINTERS GetExceptionInformation(void);
GetExceptionInformation宏
计算机检索独立描述一个异常,以及有关计算机状态,对存在的线程发生异常时的信息。这个功能可以只调用从一个异常处理程序过滤表达式。
注意:微软的C / C + +优化编译器解释作为关键字这项功能,其境外使用适当的异常处理的语法生成一个编译器错误。
参数
此宏没有参数。
返回值
对一个EXCEPTION_POINTERS结构,它包含指向以下两个结构指针:
EXCEPTION_RECORD结构,它包含了异常的描述。
背景结构,它包含计算机的状态信息。
备注
该过滤器表达式(从该函数被调用)进行评估,如果异常期间__try块的执行时,它确定是否__except块被执行。
该过滤器表达式可以调用一个过滤功能。该过滤函数不能调用GetExceptionInformation。然而,GetExceptionInformation返回值可以传递给函数的参数过滤器。
通过EXCEPTION_POINTERS资料异常处理程序块,过滤器表达式或过滤函数必须复制指针或安全存储处理程序可以在以后访问数据。
在嵌套的处理情况下,每个过滤器表达式求值,直到一个是EXCEPTION_EXECUTE_HANDLER或EXCEPTION_CONTINUE_EXECUTION评估。每一过滤表达式可以调用GetExceptionInformation获取异常信息。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
参见
背景
EXCEPTION_POINTERS
的EXCEPTION_RECORD
GetExceptionCode
结构化异常处理函数
结构化异常处理概述
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==GetExceptionInformation Macro
Retrieves a computer-independent description of an exception, and information about the computer state that exists for the thread when the exception occurs. This function can be called only from within the filter expression of an exception handler.
Note The Microsoft C/C++ Optimizing Compiler interprets this function as a keyword, and its use outside the appropriate exception-handling syntax generates a compiler error.
Syntax
C++
LPEXCEPTION_POINTERS GetExceptionInformation(void);
Parameters
This macro has no parameters.
Return Value
A pointer to an EXCEPTION_POINTERS structure that contains pointers to the following two structures:
EXCEPTION_RECORD structure that contains a description of the exception.
CONTEXT structure that contains the computer state information.
Remarks
The filter expression (from which the function is called) is evaluated if an exception occurs during execution of the __try block, and it determines whether or not the __except block is executed.
The filter expression can invoke a filter function. The filter function cannot call GetExceptionInformation. However, the return value of GetExceptionInformation can be passed as a parameter to a filter function.
To pass the EXCEPTION_POINTERS information to the exception-handler block, the filter expression or filter function must copy the pointer or the data to safe storage that the handler can later access.
In the case of nested handlers, each filter expression is evaluated until one is evaluated as EXCEPTION_EXECUTE_HANDLER or EXCEPTION_CONTINUE_EXECUTION. Each filter expression can invoke GetExceptionInformation to get exception information.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
See Also
CONTEXT
EXCEPTION_POINTERS
EXCEPTION_RECORD
GetExceptionCode
Structured Exception Handling Functions
Structured Exception Handling Overview
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms679357(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:24:17