This topic has not yet been rated - Rate this topic

SymGetTypeInfoEx function

Applies to: desktop apps only

Retrieves multiple pieces of type information.

Syntax

BOOL WINAPI SymGetTypeInfoEx(
  __in     HANDLE hProcess,
  __in     DWORD64 ModBase,
  __inout  PIMAGEHLP_GET_TYPE_INFO_PARAMS Params
);

Parameters

hProcess [in]

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

ModBase [in]

The base address of the module.

Params [in, out]

A pointer to an IMAGEHLP_GET_TYPE_INFO_PARAMS structure that specifies input and output information for the query.

Return value

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

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.

Requirements

Redistributable

DbgHelp.dll 6.3 or later

Header

Dbghelp.h

Library

Dbghelp.lib

DLL

Dbghelp.dll

See also

DbgHelp Functions
IMAGEHLP_GET_TYPE_INFO_PARAMS
SymGetTypeFromName

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Is there any sample code about SymGetTypeInfoEx and IMAGEHLP_GET_TYPE_INFO_PARAMS?
As we know, IMAGEHLP_GET_TYPE_INFO_PARAMS is BIG structure and we must fill it before using SymGetTypeInfoEx. I do not know which elements need to fill after I read this document. I want to get some sample code about SymGetTypeInfoEx and IMAGEHLP_GET_TYPE_INFO_PARAMS.

BTW: Since type information access is a relatively new feature in DbgHelp, there is currently no (known to me) good documentation or articles about it. I think msdn should do something on it.