Expand Minimize

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 WINAPI ImagehlpApiVersion(void);

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

Redistributable

DbgHelp.dll 5.1 or later

Header

Dbghelp.h

Library

Dbghelp.lib

DLL

Dbghelp.dll

See also

DbgHelp Functions
API_VERSION
ImagehlpApiVersionEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft