PWINDBG_CHECK_VERSION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

PWINDBG_CHECK_VERSION PwindbgCheckVersion;

ULONG PwindbgCheckVersion()
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdbgexts-pwindbg_check_version)

PWINDBG_CHECK_VERSION callback function

Description

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.

Return value

None

Additional Information

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

For more details, see Using WdbgExts Extension Callbacks.

Remarks

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.