IDebugSymbolGroup2::GetSymbolOffset method

The GetSymbolOffset method retrieves the location in the process's virtual address space of a symbol in a symbol group, if the symbol has an absolute address.

Syntax


HRESULT GetSymbolOffset(
  [in]   ULONG Index,
  [out]  PULONG64 Offset
);

Parameters

Index [in]

The index of the symbol whose address you want. The index of a symbol is an identification number. The index ranges from zero through the number of symbols in the symbol group minus one.

Offset [out]

The location in the process's virtual address space of the symbol.

Return value

Return codeDescription
S_OK

The method was successful.

E_NOINTERFACE

The symbol does not have an absolute address.

 

This method can also return error values. For more information, see Return Values.

Remarks

For more information about symbol groups, see Scopes and Symbol Groups.

Requirements

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugSymbolGroup2
GetNumberSymbols

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft