IDebugStackFrame3::GetUnwindCodeContext
Returns the code context representing a location if a stack unwind operation occurred.
HRESULT GetUnwindCodeContext(
IDebugCodeContext2 **ppCodeContext
);
int GetUnwindCodeContext(
out IDebugCodeContext2 ppCodeContext
);
Parameters
- ppCodeContext
[out] Returns an IDebugCodeContext2 object that represents the code context location if a stack unwind occurred.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
Even though this method might return a code context for the location after a stack unwind, it does not necessarily mean the stack unwind can actually occur in the current stack frame.