UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dbghelp.SymGetTypeFromName |
SymGetTypeFromName function (dbghelp.h) |
The SymGetTypeFromName function (dbghelp.h) retrieves a type index for the specified type name. |
|
base\symgettypefromname.htm |
Debug |
3a48365f-3b8a-493d-9fd9-dde77be9ced2 |
08/04/2022 |
SymGetTypeFromName, SymGetTypeFromName function, SymGetTypeFromNameW, _win32_symgettypefromname, base.symgettypefromname, dbghelp/SymGetTypeFromName, dbghelp/SymGetTypeFromNameW |
dbghelp.h |
Windows |
SymGetTypeFromNameW (Unicode) and SymGetTypeFromName (ANSI) |
Dbghelp.lib |
Dbghelp.dll |
Windows |
DbgHelp.dll 5.1 or later |
19H1 |
|
|
|
|
|
|
Retrieves a type index for the specified type name.
A handle to a process. This handle must have been previously passed to the SymInitialize function.
The base address of the module.
The name of the type.
A pointer to a SYMBOL_INFO structure. The TypeIndex member contains the type index.
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.
To retrieve information about the type, pass the type index to the SymGetTypeInfo function.
All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.
To call the Unicode version of this function, define DBGHELP_TRANSLATE_TCHAR.