VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/verrsrc.h@ 96080

最後變更 在這個檔案從96080是 53206,由 vboxsync 提交於 10 年 前

Devices/vmsvga: header fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 6.9 KB
 
1/* Definitions for the VERsion info library (VER.DLL)
2 *
3 * Copyright 1996 Marcus Meissner
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/*
21 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
23 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
24 * a choice of LGPL license versions is made available with the language indicating
25 * that LGPLv2 or any later version may be used, or where a choice of which version
26 * of the LGPL is applied is otherwise unspecified.
27 */
28
29#ifndef __WINE_VERRSRC_H
30#define __WINE_VERRSRC_H
31
32/* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */
33#ifndef __MSABI_LONG
34# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__)
35# define __MSABI_LONG(x) x ## l
36# else
37# define __MSABI_LONG(x) x
38# endif
39#endif
40
41/* resource ids for different version infos */
42#define VS_FILE_INFO RT_VERSION
43#define VS_VERSION_INFO 1
44#define VS_USER_DEFINED 100
45
46#define VS_FFI_SIGNATURE __MSABI_LONG(0xfeef04bd) /* FileInfo Magic */
47#define VS_FFI_STRUCVERSION __MSABI_LONG(0x00010000) /* struc version 1.0 */
48#define VS_FFI_FILEFLAGSMASK __MSABI_LONG(0x0000003f) /* valid flags */
49
50/* VS_VERSION.dwFileFlags */
51#define VS_FF_DEBUG __MSABI_LONG(0x01)
52#define VS_FF_PRERELEASE __MSABI_LONG(0x02)
53#define VS_FF_PATCHED __MSABI_LONG(0x04)
54#define VS_FF_PRIVATEBUILD __MSABI_LONG(0x08)
55#define VS_FF_INFOINFERRED __MSABI_LONG(0x10)
56#define VS_FF_SPECIALBUILD __MSABI_LONG(0x20)
57
58/* VS_VERSION.dwFileOS */
59
60/* major os version */
61#define VOS_UNKNOWN __MSABI_LONG(0x00000000)
62#define VOS_DOS __MSABI_LONG(0x00010000)
63#define VOS_OS216 __MSABI_LONG(0x00020000)
64#define VOS_OS232 __MSABI_LONG(0x00030000)
65#define VOS_NT __MSABI_LONG(0x00040000)
66#define VOS_WINCE __MSABI_LONG(0x00050000)
67
68/* minor os version */
69#define VOS__BASE __MSABI_LONG(0x00000000)
70#define VOS__WINDOWS16 __MSABI_LONG(0x00000001)
71#define VOS__PM16 __MSABI_LONG(0x00000002)
72#define VOS__PM32 __MSABI_LONG(0x00000003)
73#define VOS__WINDOWS32 __MSABI_LONG(0x00000004)
74
75/* possible versions */
76#define VOS_DOS_WINDOWS16 (VOS_DOS|VOS__WINDOWS16)
77#define VOS_DOS_WINDOWS32 (VOS_DOS|VOS__WINDOWS32)
78#define VOS_OS216_PM16 (VOS_OS216|VOS__PM16)
79#define VOS_OS232_PM32 (VOS_OS232|VOS__PM32)
80#define VOS_NT_WINDOWS32 (VOS_NT|VOS__WINDOWS32)
81
82/* VS_VERSION.dwFileType */
83#define VFT_UNKNOWN __MSABI_LONG(0x00000000)
84#define VFT_APP __MSABI_LONG(0x00000001)
85#define VFT_DLL __MSABI_LONG(0x00000002)
86#define VFT_DRV __MSABI_LONG(0x00000003)
87#define VFT_FONT __MSABI_LONG(0x00000004)
88#define VFT_VXD __MSABI_LONG(0x00000005)
89/* ??one type missing?? __MSABI_LONG(0x00000006) -Marcus */
90#define VFT_STATIC_LIB __MSABI_LONG(0x00000007)
91
92/* VS_VERSION.dwFileSubtype for VFT_DRV */
93#define VFT2_UNKNOWN __MSABI_LONG(0x00000000)
94#define VFT2_DRV_PRINTER __MSABI_LONG(0x00000001)
95#define VFT2_DRV_KEYBOARD __MSABI_LONG(0x00000002)
96#define VFT2_DRV_LANGUAGE __MSABI_LONG(0x00000003)
97#define VFT2_DRV_DISPLAY __MSABI_LONG(0x00000004)
98#define VFT2_DRV_MOUSE __MSABI_LONG(0x00000005)
99#define VFT2_DRV_NETWORK __MSABI_LONG(0x00000006)
100#define VFT2_DRV_SYSTEM __MSABI_LONG(0x00000007)
101#define VFT2_DRV_INSTALLABLE __MSABI_LONG(0x00000008)
102#define VFT2_DRV_SOUND __MSABI_LONG(0x00000009)
103#define VFT2_DRV_COMM __MSABI_LONG(0x0000000a)
104#define VFT2_DRV_INPUTMETHOD __MSABI_LONG(0x0000000b)
105#define VFT2_DRV_VERSIONED_PRINTER __MSABI_LONG(0x0000000c)
106
107/* VS_VERSION.dwFileSubtype for VFT_FONT */
108#define VFT2_FONT_RASTER __MSABI_LONG(0x00000001)
109#define VFT2_FONT_VECTOR __MSABI_LONG(0x00000002)
110#define VFT2_FONT_TRUETYPE __MSABI_LONG(0x00000003)
111
112/* VerFindFile Flags */
113 /* input */
114#define VFFF_ISSHAREDFILE 0x0001
115
116 /* output (returned) */
117#define VFF_CURNEDEST 0x0001
118#define VFF_FILEINUSE 0x0002
119#define VFF_BUFFTOOSMALL 0x0004
120
121/* VerInstallFile Flags */
122 /* input */
123#define VIFF_FORCEINSTALL 0x0001
124#define VIFF_DONTDELETEOLD 0x0002
125
126 /* output (return) */
127#define VIF_TEMPFILE __MSABI_LONG(0x00000001)
128#define VIF_MISMATCH __MSABI_LONG(0x00000002)
129#define VIF_SRCOLD __MSABI_LONG(0x00000004)
130#define VIF_DIFFLANG __MSABI_LONG(0x00000008)
131#define VIF_DIFFCODEPG __MSABI_LONG(0x00000010)
132#define VIF_DIFFTYPE __MSABI_LONG(0x00000020)
133#define VIF_WRITEPROT __MSABI_LONG(0x00000040)
134#define VIF_FILEINUSE __MSABI_LONG(0x00000080)
135#define VIF_OUTOFSPACE __MSABI_LONG(0x00000100)
136#define VIF_ACCESSVIOLATION __MSABI_LONG(0x00000200)
137#define VIF_SHARINGVIOLATION __MSABI_LONG(0x00000400)
138#define VIF_CANNOTCREATE __MSABI_LONG(0x00000800)
139#define VIF_CANNOTDELETE __MSABI_LONG(0x00001000)
140#define VIF_CANNOTRENAME __MSABI_LONG(0x00002000)
141#define VIF_CANNOTDELETECUR __MSABI_LONG(0x00004000)
142#define VIF_OUTOFMEMORY __MSABI_LONG(0x00008000)
143#define VIF_CANNOTREADSRC __MSABI_LONG(0x00010000)
144#define VIF_CANNOTREADDST __MSABI_LONG(0x00020000)
145#define VIF_BUFFTOOSMALL __MSABI_LONG(0x00040000)
146#define VIF_CANNOTLOADLZ32 __MSABI_LONG(0x00080000)
147#define VIF_CANNOTLOADCABINET __MSABI_LONG(0x00100000)
148
149
150#ifndef RC_INVOKED
151
152#ifdef __cplusplus
153extern "C" {
154#endif /* defined(__cplusplus) */
155
156#define FILE_VER_GET_LOCALISED 0x01
157#define FILE_VER_GET_NEUTRAL 0x02
158#define FILE_VER_GET_PREFETCHED 0x04
159
160typedef struct tagVS_FIXEDFILEINFO {
161 DWORD dwSignature;
162 DWORD dwStrucVersion;
163 DWORD dwFileVersionMS;
164 DWORD dwFileVersionLS;
165 DWORD dwProductVersionMS;
166 DWORD dwProductVersionLS;
167 DWORD dwFileFlagsMask;
168 DWORD dwFileFlags;
169 DWORD dwFileOS;
170 DWORD dwFileType;
171 DWORD dwFileSubtype;
172 DWORD dwFileDateMS;
173 DWORD dwFileDateLS;
174} VS_FIXEDFILEINFO;
175
176#ifdef __cplusplus
177} /* extern "C" */
178#endif /* defined(__cplusplus) */
179
180#endif /* RC_INVOKED */
181
182#endif /* __WINE_VERRSRC_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette