IDebugControl::GetDisassembleEffectiveOffset method

The GetDisassembleEffectiveOffset method returns the address of the last instruction disassembled using Disassemble.

Syntax


HRESULT GetDisassembleEffectiveOffset(
  [out] PULONG64 Offset
);

Parameters

Offset [out]

Receives the address in the target's memory of the effective offset from the last instruction disassembled.

Return value

This method can also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

 

Remarks

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.

Requirements

Target platform

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
Disassemble

 

 

Send comments about this topic to Microsoft

Show: