|Debugging Tools for Windows
The GetSymbolSize method returns the size of a symbol's value.
IN ULONG Index,
OUT PULONG Size
- 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.
- 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.
GetSymbolSize might return one of the following values:
- The method was successful.
- The symbol does not have type data associated with it.
This method might also return error values. For more information about possible return values, see Return Values.
For more information about symbol groups, see Scopes and Symbol Groups.
Versions: Available in IDebugSymbolGroup2 and later versions.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.