1 /* Copyright 2000, International Business Machines Corporation and others.
4 This software has been released under the terms of the IBM Public
5 License. For details, see the LICENSE file in the top-level source
6 directory or online at http://www.openafs.org/dl/license10.html
11 #include <shlwapi.h> //win95/98/2000 sdk
12 #define PACKVERSION(major,minor) MAKELONG(minor,major)
14 // tell linker to link with version.lib for VerQueryValue, etc.
15 #pragma comment(linker, "/defaultlib:version.lib")
17 // CModuleVersion version info about a module.
20 class CModuleVersion {
23 virtual ~CModuleVersion();
24 BOOL GetFileVersionInfo(LPCTSTR modulename,DWORD &vernum);
25 BOOL DllGetVersion(LPCTSTR modulename, DLLVERSIONINFO& dvi,DWORD &vernum);