IDebugRegisters::GetStackOffset method

The GetStackOffset method returns the current thread's current stack location.

Syntax


HRESULT GetStackOffset(
  [out]  PULONG64 Offset
);

Parameters

Offset [out]

Receives the location in the process's virtual address space of the current thread's current stack location.

Return value

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

Return codeDescription
S_OK

The method was successful.

 

Remarks

The meaning of value returned by this method is architecture specific.

The method GetStackOffset2 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

Target platform

Desktop

Header

Dbgeng.h (include DbgEng.h)

See also

IDebugRegisters
IDebugRegisters2
GetStackOffset2

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft