vbscript: Fix memory leak in owned safearray iterator.
[wine.git] / include / wine / wine_common_ver.rc
blob95ab04666e84011d4434107da7039bd7d1a7e95f
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 #if 0
21 #pragma makedep header
22 #endif
24 #include "winresrc.h"
27 Assign WINE_FILEVERSION and WINE_FILEVERSION_STR high enough number
28 to make sure that programs, relying on the version numbers, will
29 never complain.
32 #ifndef WINE_FILEVERSION_MAJOR
33 #define WINE_FILEVERSION_MAJOR 10
34 #endif
36 #ifndef WINE_FILEVERSION_MINOR
37 #define WINE_FILEVERSION_MINOR 0
38 #endif
40 #ifndef WINE_FILEVERSION_BUILD
41 #define WINE_FILEVERSION_BUILD 0
42 #endif
44 #ifndef WINE_FILEVERSION_PLATFORMID
45 #define WINE_FILEVERSION_PLATFORMID 0
46 #endif
48 #ifndef WINE_FILEVERSION
49 #define WINE_FILEVERSION WINE_FILEVERSION_MAJOR,WINE_FILEVERSION_MINOR,\
50                          WINE_FILEVERSION_BUILD,WINE_FILEVERSION_PLATFORMID
51 #endif
53 #define WINE_VER_STRINGIZE2(x) #x
54 #define WINE_VER_STRINGIZE(x) WINE_VER_STRINGIZE2(x)
55 #define WINE_VER_HEXPREFIX2(x) 0x ## x
56 #define WINE_VER_HEXPREFIX(x) WINE_VER_HEXPREFIX2(x)
58 #ifndef WINE_FILEVERSION_STR
59 #define WINE_FILEVERSION_STR WINE_VER_STRINGIZE(WINE_FILEVERSION_MAJOR.WINE_FILEVERSION_MINOR.WINE_FILEVERSION_BUILD.WINE_FILEVERSION_PLATFORMID)
60 #endif
62 #ifndef WINE_FILEDESCRIPTION_STR
63 #define WINE_FILEDESCRIPTION_STR "Wine core dll"
64 #endif
66 #ifndef WINE_FILENAME
67 #define WINE_FILENAME ""
68 #endif
70 #ifndef WINE_FILENAME_STR
71 #define WINE_FILENAME_STR ""
72 #endif
74 #ifndef WINE_FILETYPE
75 #define WINE_FILETYPE VFT_DLL
76 #endif
78 #ifndef WINE_FILESUBTYPE
79 #define WINE_FILESUBTYPE VFT2_UNKNOWN
80 #endif
82 #ifndef WINE_LEGALCOPYRIGHT
83 #define WINE_LEGALCOPYRIGHT "Copyright (c) 1993-2023 the Wine project authors (see the file AUTHORS for a complete list)"
84 #endif
86 #ifndef WINE_PRODUCTVERSION
87 #define WINE_PRODUCTVERSION 1,0,0,0
88 #endif
90 #ifndef WINE_PRODUCTVERSION_STR
91 #define WINE_PRODUCTVERSION_STR "1.0"
92 #endif
94 #ifndef WINE_PRODUCTNAME_STR
95 #define WINE_PRODUCTNAME_STR "Wine"
96 #endif
98 #ifndef WINE_EXTRAVALUES
99 #define WINE_EXTRAVALUES
100 #endif
102 #ifndef WINE_CODEPAGE
103 #ifdef _WIN32
104 #define WINE_CODEPAGE 04B0 /* CP1200 (Unicode) */
105 #else
106 #define WINE_CODEPAGE 04E4 /* CP1252 for Win16 */
107 #endif
108 #endif
110 #ifndef WINE_CODEPAGE_STR
111 #define WINE_CODEPAGE_STR WINE_VER_STRINGIZE(WINE_CODEPAGE)
112 #endif
114 #ifndef WINE_CODEPAGE_HEX
115 #define WINE_CODEPAGE_HEX WINE_VER_HEXPREFIX(WINE_CODEPAGE)
116 #endif
118 VS_VERSION_INFO VERSIONINFO
119 FILEVERSION    WINE_FILEVERSION
120 PRODUCTVERSION WINE_PRODUCTVERSION
121 FILEFLAGSMASK  63
122 FILEFLAGS      0
123 FILEOS         VOS_UNKNOWN
124 FILETYPE       WINE_FILETYPE
125 FILESUBTYPE    WINE_FILESUBTYPE
127     BLOCK "StringFileInfo"
128     {
129         /* LANG_ENGLISH/SUBLANG_DEFAULT, WINE_CODEPAGE */
130         BLOCK "0409" WINE_CODEPAGE_STR
131         {
132             VALUE "CompanyName", "Microsoft Corporation" /* GameGuard depends on this */
133             VALUE "FileDescription", WINE_FILEDESCRIPTION_STR
134             VALUE "FileVersion", WINE_FILEVERSION_STR
135             VALUE "InternalName", WINE_FILENAME
136             VALUE "LegalCopyright", WINE_LEGALCOPYRIGHT
137             VALUE "OriginalFilename", WINE_FILENAME_STR
138             VALUE "ProductName", WINE_PRODUCTNAME_STR
139             VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
140             WINE_EXTRAVALUES
141         }
142     }
143     BLOCK "VarFileInfo"
144     {
145         /* LANG_ENGLISH/SUBLANG_DEFAULT, WINE_CODEPAGE */
146         VALUE "Translation", 0x0409, WINE_CODEPAGE_HEX
147     }