Debugging Tools for Windows

CheckVersion

The CheckVersion callback function verifies that the extension module version matches the debugger version, and outputs an warning message if there is a mismatch.

VOID
  CheckVersion(
    VOID
    );

Parameters

None

Return Value

None

Headers

You must define this function in your code using the prototype above. Include wdbgext.h.

Comments

CheckVersion is an optional callback function. If it exists, it will be called by the debugger the first time an extension function exported by the extension DLL is used.

The purpose of this function is to allow you to print out a version mismatch warning when the extension DLL is used. This is an optional feature, which should not be confused with the version number used by ExtensionApiVersion.

If the .noversion command is used, version checking is disabled and the debugger will not call CheckVersion.

Additional Information

For more details, see Using WdbgExts Extension Callbacks.

Build machine: CAPEBUILD