IDebugSymbolGroup2::GetSymbolRegister method (dbgeng.h)

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(
  [in]  ULONG  Index,
  [out] PULONG Register
);

Parameters

[in] 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.

[out] 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

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

See also

GetNumberSymbols

IDebugSymbolGroup2