// wdbgexts.h
PWINDBG_CHECK_VERSION PwindbgCheckVersion;
ULONG PwindbgCheckVersion()
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The PWINDBG_CHECK_VERSION (CheckVersion) callback function verifies that the extension module version matches the debugger version, and outputs a warning message if there is a mismatch.
None
You must define this function in your code using the prototype above.
For more details, see Using WdbgExts Extension Callbacks.
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.