IDebugSymbolGroup2::GetSymbolRegister method

The GetSymbolRegister method returns the register that contains the value or a pointer to the value of a symbol in a symbol group.

Syntax

HRESULT GetSymbolRegister(
  ULONG  Index,
  PULONG Register
);

Parameters

Index

The index of the symbol to return the register for. 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.

Register

The index of the register that contains the value or a pointer to the value of the symbol.

Return Value

Return code Description
S_OK
The method was successful.
E_NOINTERFACE
The symbol's value and a pointer to it are not contained in a register, or the register is not known.

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. For more information about registers and the register index, see Registers.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

GetNumberSymbols

IDebugSymbolGroup2