Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 3.05 KB

nf-dbghelp-symgettypefromname.md

File metadata and controls

103 lines (75 loc) · 3.05 KB
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.
SymGetTypeFromName
SymGetTypeFromName function
SymGetTypeFromNameW
_win32_symgettypefromname
base.symgettypefromname
dbghelp/SymGetTypeFromName
dbghelp/SymGetTypeFromNameW
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
SymGetTypeFromName
dbghelp/SymGetTypeFromName
c++
APIRef
kbSyntax
DllExport
Dbghelp.dll
SymGetTypeFromName
SymGetTypeFromName
SymGetTypeFromNameW

SymGetTypeFromName function

-description

Retrieves a type index for the specified type name.

-parameters

-param hProcess [in]

A handle to a process. This handle must have been previously passed to the SymInitialize function.

-param BaseOfDll [in]

The base address of the module.

-param Name [in]

The name of the type.

-param Symbol [in, out]

A pointer to a SYMBOL_INFO structure. The TypeIndex member contains the type index.

-returns

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.

-remarks

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.

-see-also

DbgHelp Functions

SYMBOL_INFO

SymGetTypeInfo