Debugging Tools for Windows |
The GetSymbolName and GetSymbolNameWide methods return the name of a symbol in a symbol group.
HRESULT
IDebugSymbolGroup::GetSymbolName(
IN ULONG Index,
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG NameSize
);
HRESULT
IDebugSymbolGroup2::GetSymbolNameWide(
IN ULONG Index,
OUT OPTIONAL PWSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG NameSize
);
#ifdef UNICODE
#define GetSymbolNameT GetSymbolNameWide
#else
#define GetSymbolNameT GetSymbolName
#endif
GetSymbolName and GetSymbolNameWide might return one of the following values:
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: GetSymbolName is available in all versions of IDebugSymbolGroup. GetSymbolNameWide is available in IDebugSymbolGroup2 and later versions.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.