ImagehlpApiVersion function

Retrieves the version information of the DbgHelp library installed on the system.

To indicate the version of the library with which the application was built, use the ImagehlpApiVersionEx function.

Syntax

LPAPI_VERSION IMAGEAPI ImagehlpApiVersion(

);

Parameters

This function has no parameters.

Return Value

The return value is a pointer to an API_VERSION structure.

Remarks

Use the information in the API_VERSION structure to determine whether the version of the library installed on the system is compatible with the version of the library used by the application. Although the library functions are backward compatible, functions introduced in one version are obviously not available in earlier versions.

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

   
Target Platform Windows
Header dbghelp.h
Library Dbghelp.lib
DLL Dbghelp.dll
Redistributable DbgHelp.dll 5.1 or later

See Also

API_VERSION

DbgHelp Functions

ImagehlpApiVersionEx