__CxxFrameHandler__CxxFrameHandler

内部 CRT 函数。Internal CRT function. 由 CRT 用于处理结构化异常帧。Used by the CRT to handle structured exception frames.

语法Syntax

EXCEPTION_DISPOSITION __CxxFrameHandler(  
      EHExceptionRecord  *pExcept,  
      EHRegistrationNode *pRN,  
      void               *pContext,   
      DispatcherContext  *pDC  
   )  

参数Parameters

pExcept
传递给可能的 catch 语句的异常记录。Exception record that is passed to the possible catch statements.

pRN
有关用于处理异常的堆栈帧的动态信息。Dynamic information about the stack frame that is used to handle the exception. 有关详细信息,请参阅 ehdata.h。For more information, see ehdata.h.

pContext
上下文。Context. (不可用于 Intel 处理器上。)(Not used on Intel processors.)

pDC
有关函数入口和堆栈帧的其他信息。Additional information about the function entry and stack frame.

返回值Return Value

try-except 语句使用的 filter expression 值之一。One of the filter expression values used by the try-except Statement.

备注Remarks

要求Requirements

例程Routine 必需的标头Required header
__CxxFrameHandler__CxxFrameHandler excpt.h,ehdata.hexcpt.h, ehdata.h