DkmStackWalkFrame.CanSetNextStatement(DkmInstructionAddress) 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.
Location constraint: API must be called from an IDE component (component level > 100,000).
public:
System::UInt32 CanSetNextStatement(Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ NewStatement);
public:
unsigned int CanSetNextStatement(Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ NewStatement);
unsigned int CanSetNextStatement(Microsoft::VisualStudio::Debugger::DkmInstructionAddress const & NewStatement);
public uint CanSetNextStatement (Microsoft.VisualStudio.Debugger.DkmInstructionAddress NewStatement);
member this.CanSetNextStatement : Microsoft.VisualStudio.Debugger.DkmInstructionAddress -> uint32
Public Function CanSetNextStatement (NewStatement As DkmInstructionAddress) As UInteger
Parameters
- 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.