_except_handler3_except_handler3

内部 CRT 函数。Internal CRT function. 由框架用于查找相应的异常处理程序,以处理当前异常。Used by a framework to find the appropriate exception handler to process the current exception.

语法Syntax

int _except_handler3(  
   PEXCEPTION_RECORD exception_record,  
   PEXCEPTION_REGISTRATION registration,  
   PCONTEXT context,  
   PEXCEPTION_REGISTRATION dispatcher  
);  

参数Parameters

[in] exception_record[in] exception_record
有关特定异常的信息。Information about the specific exception.

[in] registration[in] registration
指示应该使用哪一个范围表查找异常处理程序的记录。The record that indicates which scope table should be used to find the exception handler.

[in] context[in] context
保留。Reserved.

[in] dispatcher[in] dispatcher
保留。Reserved.

返回值Return Value

如果应该消除某个异常,则返回 DISPOSITION_DISMISSIf an exception should be dismissed, returns DISPOSITION_DISMISS. 如果应该将异常向上传递一个等级给封装的异常处理程序,则返回 DISPOSITION_CONTINUE_SEARCHIf the exception should be passed up a level to the encapsulating exception handlers, returns DISPOSITION_CONTINUE_SEARCH.

备注Remarks

如果此方法找到了相应的异常处理程序,则它会将异常传递给该处理程序。If this method finds an appropriate exception handler, it passes the exception to the handler. 在这种情况下,此方法不会返回到调用它的代码且与返回值无关。In this situation, this method does not return to the code that called it and the return value is irrelevant.

另请参阅See Also

按字母顺序的函数参考Alphabetical Function Reference