Fix some incorrect uses of the ok macro where the result depends on
[wine/wine-gecko.git] / include / msidefs.h
blobf266b32172c5b7ee3ace96d5f5501ac6cf5c132c
1 /*
2 * Copyright (C) 2005 Mike McCormack
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_MSIDEFS_H
20 #define __WINE_MSIDEFS_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 enum msidbDialogAttributes {
27 msidbDialogAttributesVisible = 0x00000001,
28 msidbDialogAttributesModal = 0x00000002,
29 msidbDialogAttributesMinimize = 0x00000004,
30 msidbDialogAttributesSysModal = 0x00000008,
31 msidbDialogAttributesKeepModeless = 0x00000010,
32 msidbDialogAttributesTrackDiskSpace = 0x00000020,
33 msidbDialogAttributesUseCustomPalette = 0x00000040,
34 msidbDialogAttributesRTLRO = 0x00000080,
35 msidbDialogAttributesRightAligned = 0x00000100,
36 msidbDialogAttributesLeftScroll = 0x00000200,
37 msidbDialogAttributesBidi = 0x00000380,
38 msidbDialogAttributesError = 0x00010000
41 enum msidbTextStyleStyleBits
43 msidbTextStyleStyleBitsBold = 0x00000001,
44 msidbTextStyleStyleBitsItalic = 0x00000002,
45 msidbTextStyleStyleBitsUnderline = 0x00000004,
46 msidbTextStyleStyleBitsStrike = 0x00000008,
49 enum msidbCustomActionType
51 msidbCustomActionTypeDll = 0x00000001,
52 msidbCustomActionTypeExe = 0x00000002,
53 msidbCustomActionTypeTextData = 0x00000003,
54 msidbCustomActionTypeJScript = 0x00000005,
55 msidbCustomActionTypeVBScript = 0x00000006,
56 msidbCustomActionTypeInstall = 0x00000007,
58 msidbCustomActionTypeBinaryData = 0x00000000,
59 msidbCustomActionTypeSourceFile = 0x00000010,
60 msidbCustomActionTypeDirectory = 0x00000020,
61 msidbCustomActionTypeProperty = 0x00000030,
63 msidbCustomActionTypeContinue = 0x00000040,
64 msidbCustomActionTypeAsync = 0x00000080,
66 msidbCustomActionTypeFirstSequence = 0x00000100,
67 msidbCustomActionTypeOncePerProcess = 0x00000200,
68 msidbCustomActionTypeClientRepeat = 0x00000300,
69 msidbCustomActionTypeInScript = 0x00000400,
71 msidbCustomActionTypeRollback = 0x00000100,
72 msidbCustomActionTypeCommit = 0x00000200,
74 msidbCustomActionTypeNoImpersonate = 0x00000800,
75 msidbCustomActionTypeTSAware = 0x00004000,
77 msidbCustomActionType64BitScript = 0x00001000,
78 msidbCustomActionTypeHideTarget = 0x00002000
81 enum msidbFeatureAttributes
83 msidbFeatureAttributesFavorLocal = 0x00000000,
84 msidbFeatureAttributesFavorSource = 0x00000001,
85 msidbFeatureAttributesFollowParent = 0x00000002,
86 msidbFeatureAttributesFavorAdvertise = 0x00000004,
87 msidbFeatureAttributesDisallowAdvertise = 0x00000008,
88 msidbFeatureAttributesUIDisallowAbsent = 0x00000010,
89 msidbFeatureAttributesNoUnsupportedAdvertise = 0x00000020
92 enum msidbComponentAttributes
94 msidbComponentAttributesLocalOnly = 0x00000000,
95 msidbComponentAttributesSourceOnly = 0x00000001,
96 msidbComponentAttributesOptional = 0x00000002,
97 msidbComponentAttributesRegistryKeyPath = 0x00000004,
98 msidbComponentAttributesSharedDllRefCount = 0x00000008,
99 msidbComponentAttributesPermanent = 0x00000010,
100 msidbComponentAttributesODBCDataSource = 0x00000020,
101 msidbComponentAttributesTransitive = 0x00000040,
102 msidbComponentAttributesNeverOverwrite = 0x00000080,
103 msidbComponentAttributes64bit = 0x00000100
107 * Windows SDK braindamage alert
109 * PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too
110 * PID_SECURITY is defined in propidl.h with a different value!
111 * So these need to be undefined first.
113 #ifdef PID_DICTIONARY
114 #undef PID_DICTIONARY
115 #endif
117 #ifdef PID_CODEPAGE
118 #undef PID_CODEPAGE
119 #endif
121 #ifdef PID_SECURITY
122 #undef PID_SECURITY
123 #endif
125 #define PID_DICTIONARY 0
126 #define PID_CODEPAGE 1
127 #define PID_TITLE 2
128 #define PID_SUBJECT 3
129 #define PID_AUTHOR 4
130 #define PID_KEYWORDS 5
131 #define PID_COMMENTS 6
132 #define PID_TEMPLATE 7
133 #define PID_LASTAUTHOR 8
134 #define PID_REVNUMBER 9
135 #define PID_EDITTINE 10
136 #define PID_LASTPRINTED 11
137 #define PID_CREATE_DTM 12
138 #define PID_LASTSAVE_DTM 13
139 #define PID_PAGECOUNT 14
140 #define PID_WORDCOUNT 15
141 #define PID_CHARCOUNT 16
142 #define PID_THUMBNAIL 17
143 #define PID_APPNAME 18
144 #define PID_SECURITY 19
145 #define PID_MSIVERSION PID_PAGECOUNT
146 #define PID_MSISOURCE PID_WORDCOUNT
147 #define PID_MSIRESTRICT PID_CHARCOUNT
149 #ifdef __cplusplus
151 #endif
153 #endif /* __WINE_MSIDEFS_H */