IDebugStackFrame3:: GetUnwindCodeContext

; 如果堆栈展开操作发生的事件,返回表示位置的代码上下文。

HRESULT GetUnwindCodeContext(
   IDebugCodeContext2 **ppCodeContext
);
int GetUnwindCodeContext(
   out IDebugCodeContext2 ppCodeContext
);

参数

  • ppCodeContext
    [out] 返回表示代码上下文位置的 IDebugCodeContext2 对象; 如果堆栈展开发生。

返回值

如果成功,则返回; S_OK否则,返回错误代码。

备注

即使此方法可能返回位置的代码上下文,在堆栈展开之后,不一定表示堆栈在当前堆栈帧展开实际上可能发生。

请参见

参考

IDebugStackFrame3

IDebugCodeContext2