2 * Copyright 2001 Dmitry Timoshkov
3 * Copyright 2004 Ivan Leo Puoti
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 Assign WINE_FILEVERSION and WINE_FILEVERSION_STR high enough number
24 to make sure that programs, relying on the version numbers, will
28 #ifndef WINE_FILEVERSION_MAJOR
29 #define WINE_FILEVERSION_MAJOR 10
32 #ifndef WINE_FILEVERSION_MINOR
33 #define WINE_FILEVERSION_MINOR 0
36 #ifndef WINE_FILEVERSION_BUILD
37 #define WINE_FILEVERSION_BUILD 0
40 #ifndef WINE_FILEVERSION_PLATFORMID
41 #define WINE_FILEVERSION_PLATFORMID 0
44 #ifndef WINE_FILEVERSION
45 #define WINE_FILEVERSION WINE_FILEVERSION_MAJOR,WINE_FILEVERSION_MINOR,\
46 WINE_FILEVERSION_BUILD,WINE_FILEVERSION_PLATFORMID
49 #define WINE_VER_STRINGIZE2(x) #x
50 #define WINE_VER_STRINGIZE(x) WINE_VER_STRINGIZE2(x)
51 #define WINE_VER_HEXPREFIX2(x) 0x ## x
52 #define WINE_VER_HEXPREFIX(x) WINE_VER_HEXPREFIX2(x)
54 #ifndef WINE_FILEVERSION_STR
55 #define WINE_FILEVERSION_STR WINE_VER_STRINGIZE(WINE_FILEVERSION_MAJOR.WINE_FILEVERSION_MINOR.WINE_FILEVERSION_BUILD.WINE_FILEVERSION_PLATFORMID)
58 #ifndef WINE_FILEDESCRIPTION_STR
59 #define WINE_FILEDESCRIPTION_STR "Wine core dll"
63 #define WINE_FILENAME ""
66 #ifndef WINE_FILENAME_STR
67 #define WINE_FILENAME_STR ""
71 #define WINE_FILETYPE VFT_DLL
74 #ifndef WINE_FILESUBTYPE
75 #define WINE_FILESUBTYPE VFT2_UNKNOWN
78 #ifndef WINE_LEGALCOPYRIGHT
79 #define WINE_LEGALCOPYRIGHT "Copyright (c) 1993-2019 the Wine project authors (see the file AUTHORS for a complete list)"
82 #ifndef WINE_PRODUCTVERSION
83 #define WINE_PRODUCTVERSION 1,0,0,0
86 #ifndef WINE_PRODUCTVERSION_STR
87 #define WINE_PRODUCTVERSION_STR "1.0"
90 #ifndef WINE_PRODUCTNAME_STR
91 #define WINE_PRODUCTNAME_STR "Wine"
94 #ifndef WINE_EXTRAVALUES
95 #define WINE_EXTRAVALUES
100 #define WINE_CODEPAGE 04B0 /* CP1200 (Unicode) */
102 #define WINE_CODEPAGE 04E4 /* CP1252 for Win16 */
106 #ifndef WINE_CODEPAGE_STR
107 #define WINE_CODEPAGE_STR WINE_VER_STRINGIZE(WINE_CODEPAGE)
110 #ifndef WINE_CODEPAGE_HEX
111 #define WINE_CODEPAGE_HEX WINE_VER_HEXPREFIX(WINE_CODEPAGE)
114 VS_VERSION_INFO VERSIONINFO
115 FILEVERSION WINE_FILEVERSION
116 PRODUCTVERSION WINE_PRODUCTVERSION
120 FILETYPE WINE_FILETYPE
121 FILESUBTYPE WINE_FILESUBTYPE
123 BLOCK "StringFileInfo"
125 /* LANG_ENGLISH/SUBLANG_DEFAULT, WINE_CODEPAGE */
126 BLOCK "0409" WINE_CODEPAGE_STR
128 VALUE "CompanyName", "Microsoft Corporation" /* GameGuard depends on this */
129 VALUE "FileDescription", WINE_FILEDESCRIPTION_STR
130 VALUE "FileVersion", WINE_FILEVERSION_STR
131 VALUE "InternalName", WINE_FILENAME
132 VALUE "LegalCopyright", WINE_LEGALCOPYRIGHT
133 VALUE "OriginalFilename", WINE_FILENAME_STR
134 VALUE "ProductName", WINE_PRODUCTNAME_STR
135 VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
141 /* LANG_ENGLISH/SUBLANG_DEFAULT, WINE_CODEPAGE */
142 VALUE "Translation", 0x0409, WINE_CODEPAGE_HEX