IDebugSymbolGroup2::GetSymbolSize method (dbgeng.h)

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

Syntax

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

Parameters

[in] Index

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.

[out] Size

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 code Description
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

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

See also

GetNumberSymbols

IDebugSymbolGroup2

IDebugSymbols::GetTypeSize