VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/msidefs.h@ 69505

Last change on this file since 69505 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 9.4 KB
Line 
1/*
2 * Copyright (C) 2005 Mike McCormack
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_MSIDEFS_H
29#define __WINE_MSIDEFS_H
30
31enum msidbUpgradeAttributes {
32 msidbUpgradeAttributesMigrateFeatures = 0x0000001,
33 msidbUpgradeAttributesOnlyDetect = 0x00000002,
34 msidbUpgradeAttributesIgnoreRemoveFailure = 0x00000004,
35 msidbUpgradeAttributesVersionMinInclusive = 0x00000100,
36 msidbUpgradeAttributesVersionMaxInclusive = 0x00000200,
37 msidbUpgradeAttributesLanguagesExclusive = 0x00000400
38};
39
40enum msidbFileAttributes {
41 msidbFileAttributesReadOnly = 0x00000001,
42 msidbFileAttributesHidden = 0x00000002,
43 msidbFileAttributesSystem = 0x00000004,
44 msidbFileAttributesVital = 0x00000200,
45 msidbFileAttributesChecksum = 0x00000400,
46 msidbFileAttributesPatchAdded = 0x00001000,
47 msidbFileAttributesNoncompressed = 0x00002000,
48 msidbFileAttributesCompressed = 0x00004000
49};
50
51enum msidbPatchAttributes {
52 msidbPatchAttributesNonVital = 0x00000001
53};
54
55enum msidbDialogAttributes {
56 msidbDialogAttributesVisible = 0x00000001,
57 msidbDialogAttributesModal = 0x00000002,
58 msidbDialogAttributesMinimize = 0x00000004,
59 msidbDialogAttributesSysModal = 0x00000008,
60 msidbDialogAttributesKeepModeless = 0x00000010,
61 msidbDialogAttributesTrackDiskSpace = 0x00000020,
62 msidbDialogAttributesUseCustomPalette = 0x00000040,
63 msidbDialogAttributesRTLRO = 0x00000080,
64 msidbDialogAttributesRightAligned = 0x00000100,
65 msidbDialogAttributesLeftScroll = 0x00000200,
66 msidbDialogAttributesBidi = 0x00000380,
67 msidbDialogAttributesError = 0x00010000
68};
69
70enum msidbControlAttributes {
71 msidbControlAttributesVisible = 0x00000001,
72 msidbControlAttributesEnabled = 0x00000002,
73 msidbControlAttributesSunken = 0x00000004,
74 msidbControlAttributesIndirect = 0x00000008,
75 msidbControlAttributesInteger = 0x00000010,
76 msidbControlAttributesRTLRO = 0x00000020,
77 msidbControlAttributesRightAligned = 0x00000040,
78 msidbControlAttributesLeftScroll = 0x00000080,
79 msidbControlAttributesBiDi = 0x000000c0,
80
81 msidbControlAttributesTransparent = 0x00010000,
82 msidbControlAttributesNoPrefix = 0x00020000,
83 msidbControlAttributesNoWrap = 0x00040000,
84 msidbControlAttributesFormatSize = 0x00080000,
85 msidbControlAttributesUsersLanguage = 0x00100000,
86
87 msidbControlAttributesMultiline = 0x00010000,
88 msidbControlAttributesPasswordInput = 0x00200000,
89
90 msidbControlAttributesProgress95 = 0x00010000,
91
92 msidbControlAttributesRemovableVolume = 0x00010000,
93 msidbControlAttributesFixedVolume = 0x00020000,
94 msidbControlAttributesRemoteVolume = 0x00040000,
95 msidbControlAttributesCDROMVolume = 0x00080000,
96 msidbControlAttributesRAMdiskVolume = 0x00100000,
97 msidbControlAttributesFloppyVolume = 0x00200000,
98 msidbControlShowRollbackCost = 0x00400000,
99
100 msidbControlAttributesSorted = 0x00010000,
101 msidbControlAttributesComboList = 0x00020000,
102
103 msidbControlAttributesImageHandle = 0x00010000,
104 msidbControlAttributesPushLike = 0x00020000,
105 msidbControlAttributesBitmap = 0x00040000,
106 msidbControlAttributesIcon = 0x00080000,
107 msidbControlAttributesFixedSize = 0x00100000,
108 msidbControlAttributesIconSize16 = 0x00200000,
109 msidbControlAttributesIconSize32 = 0x00400000,
110 msidbControlAttributesIconSize48 = 0x00600000,
111
112 msidbControlAttributesHasBorder = 0x01000000,
113};
114
115enum msidbTextStyleStyleBits
116{
117 msidbTextStyleStyleBitsBold = 0x00000001,
118 msidbTextStyleStyleBitsItalic = 0x00000002,
119 msidbTextStyleStyleBitsUnderline = 0x00000004,
120 msidbTextStyleStyleBitsStrike = 0x00000008,
121};
122
123enum msidbCustomActionType
124{
125 msidbCustomActionTypeDll = 0x00000001,
126 msidbCustomActionTypeExe = 0x00000002,
127 msidbCustomActionTypeTextData = 0x00000003,
128 msidbCustomActionTypeJScript = 0x00000005,
129 msidbCustomActionTypeVBScript = 0x00000006,
130 msidbCustomActionTypeInstall = 0x00000007,
131
132 msidbCustomActionTypeBinaryData = 0x00000000,
133 msidbCustomActionTypeSourceFile = 0x00000010,
134 msidbCustomActionTypeDirectory = 0x00000020,
135 msidbCustomActionTypeProperty = 0x00000030,
136
137 msidbCustomActionTypeContinue = 0x00000040,
138 msidbCustomActionTypeAsync = 0x00000080,
139
140 msidbCustomActionTypeFirstSequence = 0x00000100,
141 msidbCustomActionTypeOncePerProcess = 0x00000200,
142 msidbCustomActionTypeClientRepeat = 0x00000300,
143 msidbCustomActionTypeInScript = 0x00000400,
144
145 msidbCustomActionTypeRollback = 0x00000100,
146 msidbCustomActionTypeCommit = 0x00000200,
147
148 msidbCustomActionTypeNoImpersonate = 0x00000800,
149 msidbCustomActionTypeTSAware = 0x00004000,
150
151 msidbCustomActionType64BitScript = 0x00001000,
152 msidbCustomActionTypeHideTarget = 0x00002000
153};
154
155enum msidbFeatureAttributes
156{
157 msidbFeatureAttributesFavorLocal = 0x00000000,
158 msidbFeatureAttributesFavorSource = 0x00000001,
159 msidbFeatureAttributesFollowParent = 0x00000002,
160 msidbFeatureAttributesFavorAdvertise = 0x00000004,
161 msidbFeatureAttributesDisallowAdvertise = 0x00000008,
162 msidbFeatureAttributesUIDisallowAbsent = 0x00000010,
163 msidbFeatureAttributesNoUnsupportedAdvertise = 0x00000020
164};
165
166enum msidbComponentAttributes
167{
168 msidbComponentAttributesLocalOnly = 0x00000000,
169 msidbComponentAttributesSourceOnly = 0x00000001,
170 msidbComponentAttributesOptional = 0x00000002,
171 msidbComponentAttributesRegistryKeyPath = 0x00000004,
172 msidbComponentAttributesSharedDllRefCount = 0x00000008,
173 msidbComponentAttributesPermanent = 0x00000010,
174 msidbComponentAttributesODBCDataSource = 0x00000020,
175 msidbComponentAttributesTransitive = 0x00000040,
176 msidbComponentAttributesNeverOverwrite = 0x00000080,
177 msidbComponentAttributes64bit = 0x00000100
178};
179
180enum msidbODBCDataSourceRegistration
181{
182 msidbODBCDataSourceRegistrationPerMachine = 0x00000000,
183 msidbODBCDataSourceRegistrationPerUser = 0x00000001
184};
185
186enum msidbRegistryRoot
187{
188 msidbRegistryRootClassesRoot = 0,
189 msidbRegistryRootCurrentUser = 1,
190 msidbRegistryRootLocalMachine = 2,
191 msidbRegistryRootUsers = 3,
192};
193
194enum msidbLocatorType
195{
196 msidbLocatorTypeDirectory = 0x000,
197 msidbLocatorTypeFileName = 0x001,
198 msidbLocatorTypeRawValue = 0x002,
199 msidbLocatorType64bit = 0x010,
200};
201
202enum msidbServiceControlEvent
203{
204 msidbServiceControlEventStart = 0x00000001,
205 msidbServiceControlEventStop = 0x00000002,
206 msidbServiceControlEventDelete = 0x00000008,
207 msidbServiceControlEventUninstallStart = 0x00000010,
208 msidbServiceControlEventUninstallStop = 0x00000020,
209 msidbServiceControlEventUninstallDelete = 0x00000080,
210};
211
212enum msidbMoveFileOptions
213{
214 msidbMoveFileOptionsMove = 0x00000001,
215};
216
217enum msidbAssemblyAttributes
218{
219 msidbAssemblyAttributesURT = 0x00000000,
220 msidbAssemblyAttributesWin32 = 0x00000001,
221};
222
223enum msidbSumInfoSourceType
224{
225 msidbSumInfoSourceTypeSFN = 0x00000001,
226 msidbSumInfoSourceTypeCompressed = 0x00000002,
227 msidbSumInfoSourceTypeAdminImage = 0x00000004,
228 msidbSumInfoSourceTypeLUAPackage = 0x00000008,
229};
230
231enum msidbRemoveFileInstallMode
232{
233 msidbRemoveFileInstallModeOnInstall = 0x00000001,
234 msidbRemoveFileInstallModeOnRemove = 0x00000002,
235 msidbRemoveFileInstallModeOnBoth = 0x00000003,
236};
237
238enum
239{
240 msidbIniFileActionAddLine = 0x00000000,
241 msidbIniFileActionCreateLine = 0x00000001,
242 msidbIniFileActionRemoveLine = 0x00000002,
243 msidbIniFileActionAddTag = 0x00000003,
244 msidbIniFileActionRemoveTag = 0x00000004
245};
246
247/*
248 * Windows SDK braindamage alert
249 *
250 * PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too
251 * PID_SECURITY is defined in propidl.h with a different value!
252 * So these need to be undefined first.
253 */
254#ifdef PID_DICTIONARY
255#undef PID_DICTIONARY
256#endif
257
258#ifdef PID_CODEPAGE
259#undef PID_CODEPAGE
260#endif
261
262#ifdef PID_SECURITY
263#undef PID_SECURITY
264#endif
265
266#define PID_DICTIONARY 0
267#define PID_CODEPAGE 1
268#define PID_TITLE 2
269#define PID_SUBJECT 3
270#define PID_AUTHOR 4
271#define PID_KEYWORDS 5
272#define PID_COMMENTS 6
273#define PID_TEMPLATE 7
274#define PID_LASTAUTHOR 8
275#define PID_REVNUMBER 9
276#define PID_EDITTIME 10
277#define PID_LASTPRINTED 11
278#define PID_CREATE_DTM 12
279#define PID_LASTSAVE_DTM 13
280#define PID_PAGECOUNT 14
281#define PID_WORDCOUNT 15
282#define PID_CHARCOUNT 16
283#define PID_THUMBNAIL 17
284#define PID_APPNAME 18
285#define PID_SECURITY 19
286#define PID_MSIVERSION PID_PAGECOUNT
287#define PID_MSISOURCE PID_WORDCOUNT
288#define PID_MSIRESTRICT PID_CHARCOUNT
289
290#endif /* __WINE_MSIDEFS_H */
Note: See TracBrowser for help on using the repository browser.

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