Partially implement AppSearch for RegLocator-type searches.
[wine/multimedia.git] / include / msidefs.h
blob5b0cc186e5621d28eccf57dd4210c6e059503b94
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
106 enum msidbRegistryRoot
108 msidbRegistryRootClassesRoot = 0,
109 msidbRegistryRootCurrentUser = 1,
110 msidbRegistryRootLocalMachine = 2,
111 msidbRegistryRootUsers = 3,
114 enum msidbLocatorType
116 msidbLocatorTypeDirectory = 0x000,
117 msidbLocatorTypeFileName = 0x001,
118 msidbLocatorTypeRawValue = 0x002,
119 msidbLocatorType64bit = 0x010,
123 * Windows SDK braindamage alert
125 * PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too
126 * PID_SECURITY is defined in propidl.h with a different value!
127 * So these need to be undefined first.
129 #ifdef PID_DICTIONARY
130 #undef PID_DICTIONARY
131 #endif
133 #ifdef PID_CODEPAGE
134 #undef PID_CODEPAGE
135 #endif
137 #ifdef PID_SECURITY
138 #undef PID_SECURITY
139 #endif
141 #define PID_DICTIONARY 0
142 #define PID_CODEPAGE 1
143 #define PID_TITLE 2
144 #define PID_SUBJECT 3
145 #define PID_AUTHOR 4
146 #define PID_KEYWORDS 5
147 #define PID_COMMENTS 6
148 #define PID_TEMPLATE 7
149 #define PID_LASTAUTHOR 8
150 #define PID_REVNUMBER 9
151 #define PID_EDITTINE 10
152 #define PID_LASTPRINTED 11
153 #define PID_CREATE_DTM 12
154 #define PID_LASTSAVE_DTM 13
155 #define PID_PAGECOUNT 14
156 #define PID_WORDCOUNT 15
157 #define PID_CHARCOUNT 16
158 #define PID_THUMBNAIL 17
159 #define PID_APPNAME 18
160 #define PID_SECURITY 19
161 #define PID_MSIVERSION PID_PAGECOUNT
162 #define PID_MSISOURCE PID_WORDCOUNT
163 #define PID_MSIRESTRICT PID_CHARCOUNT
165 #ifdef __cplusplus
167 #endif
169 #endif /* __WINE_MSIDEFS_H */