Debugging Tools for Windows |
The GetSymbolTypeId and GetSymbolTypeIdWide methods return the type ID and module of the specified symbol.
HRESULT
IDebugSymbols::GetSymbolTypeId(
IN PCSTR Symbol,
OUT PULONG TypeId,
OUT OPTIONAL PULONG64 Module
);
HRESULT
IDebugSymbols3::GetSymbolTypeIdWide(
IN PCWSTR Symbol,
OUT PULONG TypeId,
OUT OPTIONAL PULONG64 Module
);
#ifdef UNICODE
#define GetSymbolTypeIdT GetSymbolTypeIdWide
#else
#define GetSymbolTypeIdT GetSymbolTypeId
#endif
This method may also return error values. See Return Values for more details.
GetSymbolTypeId is available in all versions of IDebugSymbols. GetSymbolTypeIdWide is available in IDebugSymbols3 and later versions.
The Symbol expression may contain structure fields, pointer dereferencing, and array dereferencing — for example my_struct.some_field[0].
For more information about symbols, see Symbols.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.