wined3d: Don't free D3D vertex declarations until the wined3d vertex declaration...
[wine] / include / wine / wine_common_ver.rc
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  */
19
20 #include "windef.h"
21 #include "winbase.h"
22 #include "winver.h"
23
24 /*
25 Assign WINE_FILEVERSION and WINE_FILEVERSION_STR high enough number
26 to make sure that programs, relying on the version numbers, will
27 never complain.
28 */
29
30 #ifndef WINE_FILEVERSION_MAJOR
31 #define WINE_FILEVERSION_MAJOR 10
32 #endif
33
34 #ifndef WINE_FILEVERSION_MINOR
35 #define WINE_FILEVERSION_MINOR 0
36 #endif
37
38 #ifndef WINE_FILEVERSION_BUILD
39 #define WINE_FILEVERSION_BUILD 0
40 #endif
41
42 #ifndef WINE_FILEVERSION_PLATFORMID
43 #define WINE_FILEVERSION_PLATFORMID 0
44 #endif
45
46 #ifndef WINE_FILEVERSION
47 #define WINE_FILEVERSION WINE_FILEVERSION_MAJOR,WINE_FILEVERSION_MINOR,\
48                          WINE_FILEVERSION_BUILD,WINE_FILEVERSION_PLATFORMID
49 #endif
50
51 #define WINE_VER_STRINGIZE2(x) #x
52 #define WINE_VER_STRINGIZE(x) WINE_VER_STRINGIZE2(x)
53
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
57
58 #ifndef WINE_FILEDESCRIPTION_STR
59 #define WINE_FILEDESCRIPTION_STR "Wine core dll"
60 #endif
61
62 #ifndef WINE_FILENAME
63 #define WINE_FILENAME ""
64 #endif
65
66 #ifndef WINE_FILENAME_STR
67 #define WINE_FILENAME_STR ""
68 #endif
69
70 #ifndef WINE_FILETYPE
71 #define WINE_FILETYPE VFT_DLL
72 #endif
73
74 #ifndef WINE_FILESUBTYPE
75 #define WINE_FILESUBTYPE VFT2_UNKNOWN
76 #endif
77
78 #ifndef WINE_PRODUCTVERSION
79 #define WINE_PRODUCTVERSION 1,0,0,0
80 #endif
81
82 #ifndef WINE_PRODUCTVERSION_STR
83 #define WINE_PRODUCTVERSION_STR "1.0"
84 #endif
85
86 #ifndef WINE_PRODUCTNAME_STR
87 #define WINE_PRODUCTNAME_STR "Wine"
88 #endif
89
90 VS_VERSION_INFO VERSIONINFO
91 FILEVERSION    WINE_FILEVERSION
92 PRODUCTVERSION WINE_PRODUCTVERSION
93 FILEFLAGSMASK  63
94 FILEFLAGS      0
95 FILEOS         VOS_UNKNOWN
96 FILETYPE       WINE_FILETYPE
97 FILESUBTYPE    WINE_FILESUBTYPE
98 {
99     BLOCK "StringFileInfo"
100     {
101         BLOCK "040904E4" /* LANG_ENGLISH/SUBLANG_DEFAULT, CP 1252 */
102         {
103             VALUE "CompanyName", "Microsoft Corporation"  /* GameGuard depends on this */
104             VALUE "FileDescription", WINE_FILEDESCRIPTION_STR
105             VALUE "FileVersion", WINE_FILEVERSION_STR
106             VALUE "InternalName", WINE_FILENAME
107             VALUE "LegalCopyright", "Copyright (c) 1993-2009 the Wine project authors (see the file AUTHORS for a complete list)"
108             VALUE "OriginalFilename", WINE_FILENAME_STR
109             VALUE "ProductName", WINE_PRODUCTNAME_STR
110             VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
111 #ifdef WINE_OLESELFREGISTER
112             VALUE "OLESelfRegister", ""
113 #endif
114         }
115     }
116     BLOCK "VarFileInfo"
117     {
118         VALUE "Translation", 0x0409, 0x04E4 /* LANG_ENGLISH/SUBLANG_DEFAULT, CP 1252 */
119     }
120 }