Debugging Tools for Windows

GetFrameOffset

The GetFrameOffset method returns the location of the stack frame for the current function.

HRESULT
  IDebugRegisters::GetFrameOffset(
    OUT PULONG64  Offset
    );

Parameters

Offset
The location in the target's virtual address space of the stack frame for the current function.

Return Value

S_OK
The method was successful.

This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.

Interface Version

GetFrameOffset is available in all versions of IDebugRegisters.

Comments

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.

Requirements

Headers: Defined in DbgEng.h. Include DbgEng.h.

See Also

GetFrameOffset2

Build machine: CAPEBUILD