-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.ver
96 lines (85 loc) · 3.07 KB
/
common.ver
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*---------------------------------------------------------------*/
/* */
/* The following section actually creates the version structure. */
/* They are ignored if we are not being invoked by RC. */
/* */
/* VERSION.H must be included before including this file */
/* */
/* If VER_LEGALCOPYRIGHT_STR is not defined, it will be */
/* constructed using VER_LEGALCOPYRIGHT_YEARS, so at least one */
/* these macros must be defined before including this file. */
/* */
/* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR, and */
/* VER_INTERNALNAME_STR must be defined before including this */
/* file. */
/* */
/* If VER_FILEVERSION is not defined, VER_PRODUCTVERSION will be */
/* used instead. If VER_FILEVERSION_STR is not defined, */
/* VER_PRODUCTVERSION_STR will be used instead. */
/* */
/* If VER_ORIGINALFILENAME_STR is not defined, it is set to */
/* the NULL string. */
/* */
/* If INTL is defined, then this is assumed to be an */
/* an international build; two string blocks will be created, */
/* (since all version resources must have English), and the */
/* second one can be localized */
/* */
/*---------------------------------------------------------------*/
#ifdef RC_INVOKED
#ifndef VER_LEGALCOPYRIGHT_STR
#define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corp. ", VER_LEGALCOPYRIGHT_YEARS, "\0"
#endif
#ifndef VER_FILEVERSION
#define VER_FILEVERSION VER_PRODUCTVERSION
#endif
#ifndef VER_FILEVERSION_STR
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
#endif
#ifndef VER_ORIGINALFILENAME_STR
#define VER_ORIGINALFILENAME_STR "\0"
#endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK VER_FILEFLAGSMASK
FILEFLAGS VER_FILEFLAGS
FILEOS VER_FILEOS
FILETYPE VER_FILETYPE
FILESUBTYPE VER_FILESUBTYPE
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR, "\0"
VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
VALUE "FileVersion", VER_FILEVERSION_STR, "\0"
VALUE "InternalName", VER_INTERNALNAME_STR, "\0"
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR, "\0"
VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
VALUE "ProductName", VER_PRODUCTNAME_STR, "\0"
VALUE "ProductVersion", VER_PRODUCTVERSION_STR, "\0"
END
#ifdef INTL
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR, "\0"
VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
VALUE "FileVersion", VER_FILEVERSION_STR, "\0"
VALUE "InternalName", VER_INTERNALNAME_STR, "\0"
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR, "\0"
VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
VALUE "ProductName", VER_PRODUCTNAME_STR, "\0"
VALUE "ProductVersion", VER_PRODUCTVERSION_STR, "\0"
END
#endif
END
BLOCK "VarFileInfo"
BEGIN
/* the following line should be extended for localized versions */
VALUE "Translation", 0x0409, 0x04E4
END
END
#endif