Debugging Tools for Windows |
The GetSymbolValueText and GetSymbolValueTextWide methods return a string that represents the value of a symbol.
HRESULT
IDebugSymbolGroup2::GetSymbolValueText(
IN ULONG Index,
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG NameSize
);
HRESULT
IDebugSymbolGroup2::GetSymbolValueTextWide(
IN ULONG Index,
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG NameSize
);
#ifdef UNICODE
#define GetSymbolValueTextT GetSymbolValueTextWide
#else
#define GetSymbolValueTextT GetSymbolValueText
#endif
GetSymbolValueText and GetSymbolValueTextWide might return one of the following values:
This method might also return error values. For more information about possible return values, see Return Values.
If you added the symbol to the symbol group by using the AddSymbol method, the string that is returned to Buffer is the name of the symbol that is passed to AddSymbol.
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.