4.1 Version Resources
Version resources are used to record the version of the application using the resource file. Version resources contain a fixed amount of information. The structure of the version resource is as follows:
typedef struct tagVS_FIXEDFILEINFO {
DWORD dwSignature; // e.g. 0xfeef04bd
DWORD dwStrucVersion; // e.g. 0x00000042 = "0.42"
DWORD dwFileVersionMS; // e.g. 0x00030075 = "3.75"
DWORD dwFileVersionLS; // e.g. 0x00000031 = "0.31"
DWORD dwProductVersionMS; // e.g. 0x00030010 = "3.10"
DWORD dwProductVersionLS; // e.g. 0x00000031 = "0.31"
DWORD dwFileFlagsMask; // = 0x3F for version "0.42"
DWORD dwFileFlags; // e.g. VFF_DEBUG | VFF_PRERELEASE
DWORD dwFileOS; // e.g. VOS_DOS_WINDOWS16
DWORD dwFileType; // e.g. VFT_DRIVER
DWORD dwFileSubtype; // e.g. VFT2_DRV_KEYBOARD
DWORD dwFileDateMS; // e.g. 0
DWORD dwFileDateLS; // e.g. 0
} VS_FIXEDFILEINFO;