ntdll: Validate SecurityCookie pointer before accessing cookie value.
[wine.git] / include / wine / wine_common_ver.rc
blob5938582814062e86338688b5ad45eb23a3535665
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)
52 #ifndef WINE_FILEVERSION_STR
53 #define WINE_FILEVERSION_STR WINE_VER_STRINGIZE(WINE_FILEVERSION_MAJOR.WINE_FILEVERSION_MINOR.WINE_FILEVERSION_BUILD.WINE_FILEVERSION_PLATFORMID)
54 #endif
56 #ifndef WINE_FILEDESCRIPTION_STR
57 #define WINE_FILEDESCRIPTION_STR "Wine core dll"
58 #endif
60 #ifndef WINE_FILENAME
61 #define WINE_FILENAME ""
62 #endif
64 #ifndef WINE_FILENAME_STR
65 #define WINE_FILENAME_STR ""
66 #endif
68 #ifndef WINE_FILETYPE
69 #define WINE_FILETYPE VFT_DLL
70 #endif
72 #ifndef WINE_FILESUBTYPE
73 #define WINE_FILESUBTYPE VFT2_UNKNOWN
74 #endif
76 #ifndef WINE_PRODUCTVERSION
77 #define WINE_PRODUCTVERSION 1,0,0,0
78 #endif
80 #ifndef WINE_PRODUCTVERSION_STR
81 #define WINE_PRODUCTVERSION_STR "1.0"
82 #endif
84 #ifndef WINE_PRODUCTNAME_STR
85 #define WINE_PRODUCTNAME_STR "Wine"
86 #endif
88 #ifndef WINE_EXTRAVALUES
89 #define WINE_EXTRAVALUES
90 #endif
92 VS_VERSION_INFO VERSIONINFO
93 FILEVERSION    WINE_FILEVERSION
94 PRODUCTVERSION WINE_PRODUCTVERSION
95 FILEFLAGSMASK  63
96 FILEFLAGS      0
97 FILEOS         VOS_UNKNOWN
98 FILETYPE       WINE_FILETYPE
99 FILESUBTYPE    WINE_FILESUBTYPE
101     BLOCK "StringFileInfo"
102     {
103         BLOCK "040904E4" /* LANG_ENGLISH/SUBLANG_DEFAULT, CP 1252 */
104         {
105             VALUE "CompanyName", "Microsoft Corporation"  /* GameGuard depends on this */
106             VALUE "FileDescription", WINE_FILEDESCRIPTION_STR
107             VALUE "FileVersion", WINE_FILEVERSION_STR
108             VALUE "InternalName", WINE_FILENAME
109             VALUE "LegalCopyright", "Copyright (c) 1993-2015 the Wine project authors (see the file AUTHORS for a complete list)"
110             VALUE "OriginalFilename", WINE_FILENAME_STR
111             VALUE "ProductName", WINE_PRODUCTNAME_STR
112             VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
113             WINE_EXTRAVALUES
114         }
115     }
116     BLOCK "VarFileInfo"
117     {
118         VALUE "Translation", 0x0409, 0x04E4 /* LANG_ENGLISH/SUBLANG_DEFAULT, CP 1252 */
119     }