3 // VersionInfo.h: interface for the CVersionInfo class.
5 //////////////////////////////////////////////////////////////////////
7 #if !defined(AFX_VERSIONINFO_H__F82E9FF3_5298_11D4_AB87_00C04F789BA0__INCLUDED_)
8 #define AFX_VERSIONINFO_H__F82E9FF3_5298_11D4_AB87_00C04F789BA0__INCLUDED_
12 #endif // _MSC_VER > 1000
17 CVersionInfo(CString filename
);
18 virtual ~CVersionInfo();
19 BOOL
IsValid() {return m_isValid
;}
20 DWORD
GetStatus() {return m_status
;}
22 BOOL
CopyFileCheckVersion(CVersionInfo
&originalFile
);
23 BOOL
CopyFileNoVersion(CVersionInfo
&originalFile
);
25 const CString
&GetFilename() {return m_filename
;}
27 // Extract the elements of the file's string info block
28 CString
GetFileVersionString();
29 CString
GetProductVersionString();
30 CString
GetComments();
31 CString
GetFileDescription();
32 CString
GetInternalName();
33 CString
GetLegalCopyright();
34 CString
GetLegalTrademarks();
35 CString
GetOriginalFileName();
36 CString
GetProductName();
37 CString
GetSpecialBuildString();
38 CString
GetPrivateBuildString();
39 CString
GetCompanyName();
42 // Extract the elements of the file's VS_FIXEDFILEINFO block
43 _int64
GetFileVersion();
44 _int64
GetProductVersion();
47 DWORD
GetFileFlagMask();
51 DWORD
GetFileSubType();
57 VS_FIXEDFILEINFO
*m_fixedInfo
;
61 CString
QueryStringValue(CString value
);
64 #endif // !defined(AFX_VERSIONINFO_H__F82E9FF3_5298_11D4_AB87_00C04F789BA0__INCLUDED_)