Debugging Tools for Windows |
The GetDisassembleEffectiveOffset method returns the address of the last instruction disassembled using Disassemble.
HRESULT
IDebugControl::GetDisassembleEffectiveOffset(
OUT PULONG64 Offset
);
This method can also return error values. See Return Values for more details.
GetDisassembleEffectiveOffset is available in all versions of IDebugControl.
The effective offset is the memory location used by an instruction. For example, if the last instruction to be disassembled is move ax, [ebp+4], the effective address is the value of ebp+4. This corresponds to the $ea pseudo-register.
For more information about using assembly with the debugger engine API, see Assembling and Disassembling Instructions.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.Defined in Dbgeng.h. Include Dbgeng.h.