IDebugRegisters2::GetFrameOffset method (dbgeng.h)
The GetFrameOffset method returns the location of the stack frame for the current function.
HRESULT GetFrameOffset(
[out] PULONG64 Offset
);
[out] Offset
The location in the target's virtual address space of the stack frame for the current function.
This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.
Return code | Description |
---|---|
|
The method was successful. |
The meaning of value returned by this method is architecture-specific.
The method GetFrameOffset2 performs the same task as this method but also allows the register source to be specified.
For an overview of the IDebugRegisters interface and other register-related methods, see Registers.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include DbgEng.h) |