This method determines whether the execution point, which determines the next statement of code to be executed, can be set to the specified location.
HRESULT CanSetNextStatement( IDebugStackFrame* pStackFrame, IDebugCodeContext* pCodeContext )
- pStackFrame
[in] Pointer to a stack frame object.
- pCodeContext
[in] Pointer to a code context object.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The next statement can be updated to the specified code context. |
S_FALSE | The next statement cannot be updated to the specified code context. |