wined3d: Don't take the upload path for blits to formats requiring conversion.
[wine.git] / include / wine / wine_common_ver.rc
blob39a17d629b94d3684b85116ef78a86ddfd717064
1 /*
2  * Copyright 2001 Dmitry Timoshkov
3  * Copyright 2004 Ivan Leo Puoti
4  *
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.
9  *
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.
14  *
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
18  */
20 #include "winresrc.h"
23 Assign WINE_FILEVERSION and WINE_FILEVERSION_STR high enough number
24 to make sure that programs, relying on the version numbers, will
25 never complain.
28 #ifndef WINE_FILEVERSION_MAJOR
29 #define WINE_FILEVERSION_MAJOR 10
30 #endif
32 #ifndef WINE_FILEVERSION_MINOR
33 #define WINE_FILEVERSION_MINOR 0
34 #endif
36 #ifndef WINE_FILEVERSION_BUILD
37 #define WINE_FILEVERSION_BUILD 0
38 #endif
40 #ifndef WINE_FILEVERSION_PLATFORMID
41 #define WINE_FILEVERSION_PLATFORMID 0
42 #endif
44 #ifndef WINE_FILEVERSION
45 #define WINE_FILEVERSION WINE_FILEVERSION_MAJOR,WINE_FILEVERSION_MINOR,\
46                          WINE_FILEVERSION_BUILD,WINE_FILEVERSION_PLATFORMID
47 #endif
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)
56 #endif
58 #ifndef WINE_FILEDESCRIPTION_STR
59 #define WINE_FILEDESCRIPTION_STR "Wine core dll"
60 #endif
62 #ifndef WINE_FILENAME
63 #define WINE_FILENAME ""
64 #endif
66 #ifndef WINE_FILENAME_STR
67 #define WINE_FILENAME_STR ""
68 #endif
70 #ifndef WINE_FILETYPE
71 #define WINE_FILETYPE VFT_DLL
72 #endif
74 #ifndef WINE_FILESUBTYPE
75 #define WINE_FILESUBTYPE VFT2_UNKNOWN
76 #endif
78 #ifndef WINE_LEGALCOPYRIGHT
79 #define WINE_LEGALCOPYRIGHT "Copyright (c) 1993-2017 the Wine project authors (see the file AUTHORS for a complete list)"
80 #endif
82 #ifndef WINE_PRODUCTVERSION
83 #define WINE_PRODUCTVERSION 1,0,0,0
84 #endif
86 #ifndef WINE_PRODUCTVERSION_STR
87 #define WINE_PRODUCTVERSION_STR "1.0"
88 #endif
90 #ifndef WINE_PRODUCTNAME_STR
91 #define WINE_PRODUCTNAME_STR "Wine"
92 #endif
94 #ifndef WINE_EXTRAVALUES
95 #define WINE_EXTRAVALUES
96 #endif
98 #ifndef WINE_CODEPAGE
99 #ifdef _WIN32
100 #define WINE_CODEPAGE 04B0 /* CP1200 (Unicode) */
101 #else
102 #define WINE_CODEPAGE 04E4 /* CP1252 for Win16 */
103 #endif
104 #endif
106 #ifndef WINE_CODEPAGE_STR
107 #define WINE_CODEPAGE_STR WINE_VER_STRINGIZE(WINE_CODEPAGE)
108 #endif
110 #ifndef WINE_CODEPAGE_HEX
111 #define WINE_CODEPAGE_HEX WINE_VER_HEXPREFIX(WINE_CODEPAGE)
112 #endif
114 VS_VERSION_INFO VERSIONINFO
115 FILEVERSION    WINE_FILEVERSION
116 PRODUCTVERSION WINE_PRODUCTVERSION
117 FILEFLAGSMASK  63
118 FILEFLAGS      0
119 FILEOS         VOS_UNKNOWN
120 FILETYPE       WINE_FILETYPE
121 FILESUBTYPE    WINE_FILESUBTYPE
123     BLOCK "StringFileInfo"
124     {
125         /* LANG_ENGLISH/SUBLANG_DEFAULT, WINE_CODEPAGE */
126         BLOCK "0409" WINE_CODEPAGE_STR
127         {
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
136             WINE_EXTRAVALUES
137         }
138     }
139     BLOCK "VarFileInfo"
140     {
141         /* LANG_ENGLISH/SUBLANG_DEFAULT, WINE_CODEPAGE */
142         VALUE "Translation", 0x0409, WINE_CODEPAGE_HEX
143     }