获取堆栈帧的代码上下文。
HRESULT GetCodeContext (
IDebugCodeContext2** ppCodeCxt
);
int GetCodeContext (
out IDebugCodeContext2 ppCodeCxt
);
参数
- ppCodeCxt
[out] 返回表示此堆栈帧的当前指令指针的 IDebugCodeContext2 对象。
返回值
如果成功,则返回; S_OK否则,返回错误代码。
获取堆栈帧的代码上下文。
HRESULT GetCodeContext (
IDebugCodeContext2** ppCodeCxt
);
int GetCodeContext (
out IDebugCodeContext2 ppCodeCxt
);
如果成功,则返回; S_OK否则,返回错误代码。