|Debugging Tools for Windows|
The GetStackOffset method returns the current thread's current stack location.
OUT PULONG64 Offset
This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.
GetStackOffset is available in all versions of IDebugRegisters.
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.
Headers: Defined in DbgEng.h. Include DbgEng.h.