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 |
|
---|
31 | enum msidbUpgradeAttributes {
|
---|
32 | msidbUpgradeAttributesMigrateFeatures = 0x0000001,
|
---|
33 | msidbUpgradeAttributesOnlyDetect = 0x00000002,
|
---|
34 | msidbUpgradeAttributesIgnoreRemoveFailure = 0x00000004,
|
---|
35 | msidbUpgradeAttributesVersionMinInclusive = 0x00000100,
|
---|
36 | msidbUpgradeAttributesVersionMaxInclusive = 0x00000200,
|
---|
37 | msidbUpgradeAttributesLanguagesExclusive = 0x00000400
|
---|
38 | };
|
---|
39 |
|
---|
40 | enum 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 |
|
---|
51 | enum msidbDialogAttributes {
|
---|
52 | msidbDialogAttributesVisible = 0x00000001,
|
---|
53 | msidbDialogAttributesModal = 0x00000002,
|
---|
54 | msidbDialogAttributesMinimize = 0x00000004,
|
---|
55 | msidbDialogAttributesSysModal = 0x00000008,
|
---|
56 | msidbDialogAttributesKeepModeless = 0x00000010,
|
---|
57 | msidbDialogAttributesTrackDiskSpace = 0x00000020,
|
---|
58 | msidbDialogAttributesUseCustomPalette = 0x00000040,
|
---|
59 | msidbDialogAttributesRTLRO = 0x00000080,
|
---|
60 | msidbDialogAttributesRightAligned = 0x00000100,
|
---|
61 | msidbDialogAttributesLeftScroll = 0x00000200,
|
---|
62 | msidbDialogAttributesBidi = 0x00000380,
|
---|
63 | msidbDialogAttributesError = 0x00010000
|
---|
64 | };
|
---|
65 |
|
---|
66 | enum msidbControlAttributes {
|
---|
67 | msidbControlAttributesVisible = 0x00000001,
|
---|
68 | msidbControlAttributesEnabled = 0x00000002,
|
---|
69 | msidbControlAttributesSunken = 0x00000004,
|
---|
70 | msidbControlAttributesIndirect = 0x00000008,
|
---|
71 | msidbControlAttributesInteger = 0x00000010,
|
---|
72 | msidbControlAttributesRTLRO = 0x00000020,
|
---|
73 | msidbControlAttributesRightAligned = 0x00000040,
|
---|
74 | msidbControlAttributesLeftScroll = 0x00000080,
|
---|
75 | msidbControlAttributesBiDi = 0x000000c0,
|
---|
76 |
|
---|
77 | msidbControlAttributesTransparent = 0x00010000,
|
---|
78 | msidbControlAttributesNoPrefix = 0x00020000,
|
---|
79 | msidbControlAttributesNoWrap = 0x00040000,
|
---|
80 | msidbControlAttributesFormatSize = 0x00080000,
|
---|
81 | msidbControlAttributesUsersLanguage = 0x00100000,
|
---|
82 |
|
---|
83 | msidbControlAttributesMultiline = 0x00010000,
|
---|
84 | msidbControlAttributesPasswordInput = 0x00200000,
|
---|
85 |
|
---|
86 | msidbControlAttributesProgress95 = 0x00010000,
|
---|
87 |
|
---|
88 | msidbControlAttributesRemovableVolume = 0x00010000,
|
---|
89 | msidbControlAttributesFixedVolume = 0x00020000,
|
---|
90 | msidbControlAttributesRemoteVolume = 0x00040000,
|
---|
91 | msidbControlAttributesCDROMVolume = 0x00080000,
|
---|
92 | msidbControlAttributesRAMdiskVolume = 0x00100000,
|
---|
93 | msidbControlAttributesFloppyVolume = 0x00200000,
|
---|
94 | msidbControlShowRollbackCost = 0x00400000,
|
---|
95 |
|
---|
96 | msidbControlAttributesSorted = 0x00010000,
|
---|
97 | msidbControlAttributesComboList = 0x00020000,
|
---|
98 |
|
---|
99 | msidbControlAttributesImageHandle = 0x00010000,
|
---|
100 | msidbControlAttributesPushLike = 0x00020000,
|
---|
101 | msidbControlAttributesBitmap = 0x00040000,
|
---|
102 | msidbControlAttributesIcon = 0x00080000,
|
---|
103 | msidbControlAttributesFixedSize = 0x00100000,
|
---|
104 | msidbControlAttributesIconSize16 = 0x00200000,
|
---|
105 | msidbControlAttributesIconSize32 = 0x00400000,
|
---|
106 | msidbControlAttributesIconSize48 = 0x00600000,
|
---|
107 |
|
---|
108 | msidbControlAttributesHasBorder = 0x01000000,
|
---|
109 | };
|
---|
110 |
|
---|
111 | enum msidbTextStyleStyleBits
|
---|
112 | {
|
---|
113 | msidbTextStyleStyleBitsBold = 0x00000001,
|
---|
114 | msidbTextStyleStyleBitsItalic = 0x00000002,
|
---|
115 | msidbTextStyleStyleBitsUnderline = 0x00000004,
|
---|
116 | msidbTextStyleStyleBitsStrike = 0x00000008,
|
---|
117 | };
|
---|
118 |
|
---|
119 | enum msidbCustomActionType
|
---|
120 | {
|
---|
121 | msidbCustomActionTypeDll = 0x00000001,
|
---|
122 | msidbCustomActionTypeExe = 0x00000002,
|
---|
123 | msidbCustomActionTypeTextData = 0x00000003,
|
---|
124 | msidbCustomActionTypeJScript = 0x00000005,
|
---|
125 | msidbCustomActionTypeVBScript = 0x00000006,
|
---|
126 | msidbCustomActionTypeInstall = 0x00000007,
|
---|
127 |
|
---|
128 | msidbCustomActionTypeBinaryData = 0x00000000,
|
---|
129 | msidbCustomActionTypeSourceFile = 0x00000010,
|
---|
130 | msidbCustomActionTypeDirectory = 0x00000020,
|
---|
131 | msidbCustomActionTypeProperty = 0x00000030,
|
---|
132 |
|
---|
133 | msidbCustomActionTypeContinue = 0x00000040,
|
---|
134 | msidbCustomActionTypeAsync = 0x00000080,
|
---|
135 |
|
---|
136 | msidbCustomActionTypeFirstSequence = 0x00000100,
|
---|
137 | msidbCustomActionTypeOncePerProcess = 0x00000200,
|
---|
138 | msidbCustomActionTypeClientRepeat = 0x00000300,
|
---|
139 | msidbCustomActionTypeInScript = 0x00000400,
|
---|
140 |
|
---|
141 | msidbCustomActionTypeRollback = 0x00000100,
|
---|
142 | msidbCustomActionTypeCommit = 0x00000200,
|
---|
143 |
|
---|
144 | msidbCustomActionTypeNoImpersonate = 0x00000800,
|
---|
145 | msidbCustomActionTypeTSAware = 0x00004000,
|
---|
146 |
|
---|
147 | msidbCustomActionType64BitScript = 0x00001000,
|
---|
148 | msidbCustomActionTypeHideTarget = 0x00002000
|
---|
149 | };
|
---|
150 |
|
---|
151 | enum msidbFeatureAttributes
|
---|
152 | {
|
---|
153 | msidbFeatureAttributesFavorLocal = 0x00000000,
|
---|
154 | msidbFeatureAttributesFavorSource = 0x00000001,
|
---|
155 | msidbFeatureAttributesFollowParent = 0x00000002,
|
---|
156 | msidbFeatureAttributesFavorAdvertise = 0x00000004,
|
---|
157 | msidbFeatureAttributesDisallowAdvertise = 0x00000008,
|
---|
158 | msidbFeatureAttributesUIDisallowAbsent = 0x00000010,
|
---|
159 | msidbFeatureAttributesNoUnsupportedAdvertise = 0x00000020
|
---|
160 | };
|
---|
161 |
|
---|
162 | enum msidbComponentAttributes
|
---|
163 | {
|
---|
164 | msidbComponentAttributesLocalOnly = 0x00000000,
|
---|
165 | msidbComponentAttributesSourceOnly = 0x00000001,
|
---|
166 | msidbComponentAttributesOptional = 0x00000002,
|
---|
167 | msidbComponentAttributesRegistryKeyPath = 0x00000004,
|
---|
168 | msidbComponentAttributesSharedDllRefCount = 0x00000008,
|
---|
169 | msidbComponentAttributesPermanent = 0x00000010,
|
---|
170 | msidbComponentAttributesODBCDataSource = 0x00000020,
|
---|
171 | msidbComponentAttributesTransitive = 0x00000040,
|
---|
172 | msidbComponentAttributesNeverOverwrite = 0x00000080,
|
---|
173 | msidbComponentAttributes64bit = 0x00000100
|
---|
174 | };
|
---|
175 |
|
---|
176 | enum msidbODBCDataSourceRegistration
|
---|
177 | {
|
---|
178 | msidbODBCDataSourceRegistrationPerMachine = 0x00000000,
|
---|
179 | msidbODBCDataSourceRegistrationPerUser = 0x00000001
|
---|
180 | };
|
---|
181 |
|
---|
182 | enum msidbRegistryRoot
|
---|
183 | {
|
---|
184 | msidbRegistryRootClassesRoot = 0,
|
---|
185 | msidbRegistryRootCurrentUser = 1,
|
---|
186 | msidbRegistryRootLocalMachine = 2,
|
---|
187 | msidbRegistryRootUsers = 3,
|
---|
188 | };
|
---|
189 |
|
---|
190 | enum msidbLocatorType
|
---|
191 | {
|
---|
192 | msidbLocatorTypeDirectory = 0x000,
|
---|
193 | msidbLocatorTypeFileName = 0x001,
|
---|
194 | msidbLocatorTypeRawValue = 0x002,
|
---|
195 | msidbLocatorType64bit = 0x010,
|
---|
196 | };
|
---|
197 |
|
---|
198 | enum msidbServiceControlEvent
|
---|
199 | {
|
---|
200 | msidbServiceControlEventStart = 0x00000001,
|
---|
201 | msidbServiceControlEventStop = 0x00000002,
|
---|
202 | msidbServiceControlEventDelete = 0x00000008,
|
---|
203 | msidbServiceControlEventUninstallStart = 0x00000010,
|
---|
204 | msidbServiceControlEventUninstallStop = 0x00000020,
|
---|
205 | msidbServiceControlEventUninstallDelete = 0x00000080,
|
---|
206 | };
|
---|
207 |
|
---|
208 | enum msidbMoveFileOptions
|
---|
209 | {
|
---|
210 | msidbMoveFileOptionsMove = 0x00000001,
|
---|
211 | };
|
---|
212 |
|
---|
213 | enum msidbAssemblyAttributes
|
---|
214 | {
|
---|
215 | msidbAssemblyAttributesURT = 0x00000000,
|
---|
216 | msidbAssemblyAttributesWin32 = 0x00000001,
|
---|
217 | };
|
---|
218 |
|
---|
219 | enum msidbSumInfoSourceType
|
---|
220 | {
|
---|
221 | msidbSumInfoSourceTypeSFN = 0x00000001,
|
---|
222 | msidbSumInfoSourceTypeCompressed = 0x00000002,
|
---|
223 | msidbSumInfoSourceTypeAdminImage = 0x00000004,
|
---|
224 | msidbSumInfoSourceTypeLUAPackage = 0x00000008,
|
---|
225 | };
|
---|
226 |
|
---|
227 | enum msidbRemoveFileInstallMode
|
---|
228 | {
|
---|
229 | msidbRemoveFileInstallModeOnInstall = 0x00000001,
|
---|
230 | msidbRemoveFileInstallModeOnRemove = 0x00000002,
|
---|
231 | msidbRemoveFileInstallModeOnBoth = 0x00000003,
|
---|
232 | };
|
---|
233 |
|
---|
234 | enum
|
---|
235 | {
|
---|
236 | msidbIniFileActionAddLine = 0x00000000,
|
---|
237 | msidbIniFileActionCreateLine = 0x00000001,
|
---|
238 | msidbIniFileActionRemoveLine = 0x00000002,
|
---|
239 | msidbIniFileActionAddTag = 0x00000003,
|
---|
240 | msidbIniFileActionRemoveTag = 0x00000004
|
---|
241 | };
|
---|
242 |
|
---|
243 | /*
|
---|
244 | * Windows SDK braindamage alert
|
---|
245 | *
|
---|
246 | * PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too
|
---|
247 | * PID_SECURITY is defined in propidl.h with a different value!
|
---|
248 | * So these need to be undefined first.
|
---|
249 | */
|
---|
250 | #ifdef PID_DICTIONARY
|
---|
251 | #undef PID_DICTIONARY
|
---|
252 | #endif
|
---|
253 |
|
---|
254 | #ifdef PID_CODEPAGE
|
---|
255 | #undef PID_CODEPAGE
|
---|
256 | #endif
|
---|
257 |
|
---|
258 | #ifdef PID_SECURITY
|
---|
259 | #undef PID_SECURITY
|
---|
260 | #endif
|
---|
261 |
|
---|
262 | #define PID_DICTIONARY 0
|
---|
263 | #define PID_CODEPAGE 1
|
---|
264 | #define PID_TITLE 2
|
---|
265 | #define PID_SUBJECT 3
|
---|
266 | #define PID_AUTHOR 4
|
---|
267 | #define PID_KEYWORDS 5
|
---|
268 | #define PID_COMMENTS 6
|
---|
269 | #define PID_TEMPLATE 7
|
---|
270 | #define PID_LASTAUTHOR 8
|
---|
271 | #define PID_REVNUMBER 9
|
---|
272 | #define PID_EDITTIME 10
|
---|
273 | #define PID_LASTPRINTED 11
|
---|
274 | #define PID_CREATE_DTM 12
|
---|
275 | #define PID_LASTSAVE_DTM 13
|
---|
276 | #define PID_PAGECOUNT 14
|
---|
277 | #define PID_WORDCOUNT 15
|
---|
278 | #define PID_CHARCOUNT 16
|
---|
279 | #define PID_THUMBNAIL 17
|
---|
280 | #define PID_APPNAME 18
|
---|
281 | #define PID_SECURITY 19
|
---|
282 | #define PID_MSIVERSION PID_PAGECOUNT
|
---|
283 | #define PID_MSISOURCE PID_WORDCOUNT
|
---|
284 | #define PID_MSIRESTRICT PID_CHARCOUNT
|
---|
285 |
|
---|
286 | #endif /* __WINE_MSIDEFS_H */
|
---|