IDkmSetNextStatementQuery.CanSetNextStatement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CanSetNextStatement determines if it is possible to move the IP of a stack frame. The stack frame is always the leaf stack frame on a particular thread. This API may only be implemented within the engine process. The Result out parameter should be S_OK or the value of a failed HRESULT that the UI can map to an error message.
public:
System::UInt32 CanSetNextStatement(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ frame, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ newStatement);
public:
unsigned int CanSetNextStatement(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ frame, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ newStatement);
unsigned int CanSetNextStatement(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame const & frame, Microsoft::VisualStudio::Debugger::DkmInstructionAddress const & newStatement);
public uint CanSetNextStatement (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame frame, Microsoft.VisualStudio.Debugger.DkmInstructionAddress newStatement);
abstract member CanSetNextStatement : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.DkmInstructionAddress -> uint32
Public Function CanSetNextStatement (frame As DkmStackWalkFrame, newStatement As DkmInstructionAddress) As UInteger
Parameters
- frame
- DkmStackWalkFrame
[In] DkmStackWalkFrame represents a frame on a call stack which has been walked, but may not have been formatted or filtered. Formatted frames are represented by DkmStackFrame instead.
- newStatement
- DkmInstructionAddress
[In] Abstract representation of an executable code location (ex: EIP value). If resolved, an Instruction Address will be within a particular module instance. An Instruction Address is always within a particular Runtime Instance.
Returns
[Out] The error code to return to the UI. This should be S_OK or the value of a failed HRESULT that the UI can map to an error message.