IDebugSymbolGroup2::GetSymbolSize method

The GetSymbolSize method returns the size of a symbol's value.

Syntax


HRESULT GetSymbolSize(
  [in]   ULONG Index,
  [out]  PULONG Size
);

Parameters

Index [in]

The index of the symbol to remove. 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.

Size [out]

The size, in bytes, of the symbol's value. This information might not be available. If this information is not available, Size is set to zero. For some symbols (for example, a function's code), the data might be split over multiple regions. In this situation, Size is not meaningful.

Return value

Return codeDescription
S_OK

The method was successful.

E_NOINTERFACE

The symbol does not have type data associated with it.

 

This method can also return other 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
IDebugSymbols::GetTypeSize

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft