ImagehlpApiVersion Function

Debug Help Library

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.

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

Requires DbgHelp.dll 5.1 or later.

Header

Declared in Dbghelp.h.

Library

Use Dbghelp.lib.

DLL

Requires Dbghelp.dll.

See Also

DbgHelp FunctionsAPI_VERSION
ImagehlpApiVersionEx


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.