Enum winres::VersionInfo
source · pub enum VersionInfo {
FILEVERSION,
PRODUCTVERSION,
FILEOS,
FILETYPE,
FILESUBTYPE,
FILEFLAGSMASK,
FILEFLAGS,
}
Expand description
Version info field names
Variants§
FILEVERSION
The version value consists of four 16 bit words, e.g.,
MAJOR << 48 | MINOR << 32 | PATCH << 16 | RELEASE
PRODUCTVERSION
The version value consists of four 16 bit words, e.g.,
MAJOR << 48 | MINOR << 32 | PATCH << 16 | RELEASE
FILEOS
Should be Windows NT Win32, with value 0x40004
FILETYPE
The value (for a rust compiler output) should be 1 for a EXE and 2 for a DLL
FILESUBTYPE
Only for Windows drivers
FILEFLAGSMASK
Bit mask for FILEFLAGS
FILEFLAGS
Only the bits set in FILEFLAGSMASK are read