2 * Copyright (C) 2002,2003 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #ifndef _MSI_NO_CRYPTO
30 typedef ULONG MSIHANDLE
;
32 typedef enum tagINSTALLSTATE
34 INSTALLSTATE_NOTUSED
= -7,
35 INSTALLSTATE_BADCONFIG
= -6,
36 INSTALLSTATE_INCOMPLETE
= -5,
37 INSTALLSTATE_SOURCEABSENT
= -4,
38 INSTALLSTATE_MOREDATA
= -3,
39 INSTALLSTATE_INVALIDARG
= -2,
40 INSTALLSTATE_UNKNOWN
= -1,
41 INSTALLSTATE_BROKEN
= 0,
42 INSTALLSTATE_ADVERTISED
= 1,
43 INSTALLSTATE_ABSENT
= 2,
44 INSTALLSTATE_LOCAL
= 3,
45 INSTALLSTATE_SOURCE
= 4,
46 INSTALLSTATE_DEFAULT
= 5
49 typedef enum tagMSIPATCHSTATE
51 MSIPATCHSTATE_INVALID
= 0,
52 MSIPATCHSTATE_APPLIED
= 1,
53 MSIPATCHSTATE_SUPERSEDED
= 2,
54 MSIPATCHSTATE_OBSOLETED
= 4,
55 MSIPATCHSTATE_REGISTERED
= 8,
56 MSIPATCHSTATE_ALL
= (MSIPATCHSTATE_APPLIED
| MSIPATCHSTATE_SUPERSEDED
|
57 MSIPATCHSTATE_OBSOLETED
| MSIPATCHSTATE_REGISTERED
)
60 typedef enum tagINSTALLUILEVEL
62 INSTALLUILEVEL_NOCHANGE
= 0,
63 INSTALLUILEVEL_DEFAULT
= 1,
64 INSTALLUILEVEL_NONE
= 2,
65 INSTALLUILEVEL_BASIC
= 3,
66 INSTALLUILEVEL_REDUCED
= 4,
67 INSTALLUILEVEL_FULL
= 5,
68 INSTALLUILEVEL_HIDECANCEL
= 0x20,
69 INSTALLUILEVEL_PROGRESSONLY
= 0x40,
70 INSTALLUILEVEL_ENDDIALOG
= 0x80,
71 INSTALLUILEVEL_SOURCERESONLY
= 0x100
74 typedef enum tagUSERINFOSTATE
76 USERINFOSTATE_MOREDATA
= -3,
77 USERINFOSTATE_INVALIDARG
= -2,
78 USERINFOSTATE_UNKNOWN
= -1,
79 USERINFOSTATE_ABSENT
= 0,
80 USERINFOSTATE_PRESENT
= 1,
83 typedef enum tagINSTALLLEVEL
85 INSTALLLEVEL_DEFAULT
= 0,
86 INSTALLLEVEL_MINIMUM
= 1,
87 INSTALLLEVEL_MAXIMUM
= 0xFFFF
90 typedef enum tagINSTALLMESSAGE
92 INSTALLMESSAGE_FATALEXIT
= 0,
93 INSTALLMESSAGE_ERROR
= 0x01000000,
94 INSTALLMESSAGE_WARNING
= 0x02000000,
95 INSTALLMESSAGE_USER
= 0x03000000,
96 INSTALLMESSAGE_INFO
= 0x04000000,
97 INSTALLMESSAGE_FILESINUSE
= 0x05000000,
98 INSTALLMESSAGE_RESOLVESOURCE
= 0x06000000,
99 INSTALLMESSAGE_OUTOFDISKSPACE
= 0x07000000,
100 INSTALLMESSAGE_ACTIONSTART
= 0x08000000,
101 INSTALLMESSAGE_ACTIONDATA
= 0x09000000,
102 INSTALLMESSAGE_PROGRESS
= 0x0a000000,
103 INSTALLMESSAGE_COMMONDATA
= 0x0b000000,
104 INSTALLMESSAGE_INITIALIZE
= 0x0c000000,
105 INSTALLMESSAGE_TERMINATE
= 0x0d000000,
106 INSTALLMESSAGE_SHOWDIALOG
= 0x0e000000,
107 INSTALLMESSAGE_RMFILESINUSE
= 0x19000000,
108 INSTALLMESSAGE_INSTALLSTART
= 0x1A000000,
109 INSTALLMESSAGE_INSTALLEND
= 0x1B000000,
112 typedef enum tagREINSTALLMODE
114 REINSTALLMODE_REPAIR
= 0x00000001,
115 REINSTALLMODE_FILEMISSING
= 0x00000002,
116 REINSTALLMODE_FILEOLDERVERSION
= 0x00000004,
117 REINSTALLMODE_FILEEQUALVERSION
= 0x00000008,
118 REINSTALLMODE_FILEEXACT
= 0x00000010,
119 REINSTALLMODE_FILEVERIFY
= 0x00000020,
120 REINSTALLMODE_FILEREPLACE
= 0x00000040,
121 REINSTALLMODE_MACHINEDATA
= 0x00000080,
122 REINSTALLMODE_USERDATA
= 0x00000100,
123 REINSTALLMODE_SHORTCUT
= 0x00000200,
124 REINSTALLMODE_PACKAGE
= 0x00000400
127 typedef enum tagINSTALLLOGMODE
129 INSTALLLOGMODE_FATALEXIT
= (1 << (INSTALLMESSAGE_FATALEXIT
>> 24)),
130 INSTALLLOGMODE_ERROR
= (1 << (INSTALLMESSAGE_ERROR
>> 24)),
131 INSTALLLOGMODE_WARNING
= (1 << (INSTALLMESSAGE_WARNING
>> 24)),
132 INSTALLLOGMODE_USER
= (1 << (INSTALLMESSAGE_USER
>> 24)),
133 INSTALLLOGMODE_INFO
= (1 << (INSTALLMESSAGE_INFO
>> 24)),
134 INSTALLLOGMODE_FILESINUSE
= (1 << (INSTALLMESSAGE_FILESINUSE
>> 24)),
135 INSTALLLOGMODE_RESOLVESOURCE
= (1 << (INSTALLMESSAGE_RESOLVESOURCE
>> 24)),
136 INSTALLLOGMODE_OUTOFDISKSPACE
= (1 << (INSTALLMESSAGE_OUTOFDISKSPACE
>> 24)),
137 INSTALLLOGMODE_ACTIONSTART
= (1 << (INSTALLMESSAGE_ACTIONSTART
>> 24)),
138 INSTALLLOGMODE_ACTIONDATA
= (1 << (INSTALLMESSAGE_ACTIONDATA
>> 24)),
139 INSTALLLOGMODE_PROGRESS
= (1 << (INSTALLMESSAGE_PROGRESS
>> 24)),
140 INSTALLLOGMODE_PROPERTYDUMP
= (1 << (INSTALLMESSAGE_PROGRESS
>> 24)),
141 INSTALLLOGMODE_COMMONDATA
= (1 << (INSTALLMESSAGE_COMMONDATA
>> 24)),
142 INSTALLLOGMODE_INITIALIZE
= (1 << (INSTALLMESSAGE_INITIALIZE
>> 24)),
143 INSTALLLOGMODE_VERBOSE
= (1 << (INSTALLMESSAGE_INITIALIZE
>> 24)),
144 INSTALLLOGMODE_TERMINATE
= (1 << (INSTALLMESSAGE_TERMINATE
>> 24)),
145 INSTALLLOGMODE_EXTRADEBUG
= (1 << (INSTALLMESSAGE_TERMINATE
>> 24)),
146 INSTALLLOGMODE_SHOWDIALOG
= (1 << (INSTALLMESSAGE_SHOWDIALOG
>> 24)),
147 INSTALLLOGMODE_RMFILESINUSE
= (1 << (INSTALLMESSAGE_RMFILESINUSE
>> 24)),
148 INSTALLLOGMODE_INSTALLSTART
= (1 << (INSTALLMESSAGE_INSTALLSTART
>> 24)),
149 INSTALLLOGMODE_INSTALLEND
= (1 << (INSTALLMESSAGE_INSTALLEND
>> 24)),
152 typedef enum tagINSTALLLOGATTRIBUTES
154 INSTALLLOGATTRIBUTES_APPEND
= 0x00000001,
155 INSTALLLOGATTRIBUTES_FLUSHEACHLINE
= 0x00000002
156 } INSTALLLOGATTRIBUTES
;
158 typedef enum tagINSTALLMODE
160 INSTALLMODE_NODETECTION_ANY
= -4,
161 INSTALLMODE_NOSOURCERESOLUTION
= -3,
162 INSTALLMODE_NODETECTION
= -2,
163 INSTALLMODE_EXISTING
= -1,
164 INSTALLMODE_DEFAULT
= 0
167 typedef enum tagADVERTISEFLAGS
169 ADVERTISEFLAGS_MACHINEASSIGN
= 0,
170 ADVERTISEFLAGS_USERASSIGN
= 1
173 typedef enum tagSCRIPTFLAGS
175 SCRIPTFLAGS_CACHEINFO
= 1,
176 SCRIPTFLAGS_SHORTCUTS
= 4,
177 SCRIPTFLAGS_MACHINEASSIGN
= 8,
178 SCRIPTFLAGS_REGDATA_APPINFO
= 0x10,
179 SCRIPTFLAGS_REGDATA_CNFGINFO
= 0x20,
180 SCRIPTFLAGS_VALIDATE_TRANSFORMS_LIST
= 0x40,
181 SCRIPTFLAGS_REGDATA_CLASSINFO
= 0x80,
182 SCRIPTFLAGS_REGDATA_EXTENSIONINFO
= 0x100,
185 typedef enum tagINSTALLTYPE
187 INSTALLTYPE_DEFAULT
= 0,
188 INSTALLTYPE_NETWORK_IMAGE
= 1,
189 INSTALLTYPE_SINGLE_INSTANCE
= 2,
192 typedef enum tagMSIINSTALLCONTEXT
194 MSIINSTALLCONTEXT_FIRSTVISIBLE
= 0,
195 MSIINSTALLCONTEXT_NONE
= 0,
196 MSIINSTALLCONTEXT_USERMANAGED
= 1,
197 MSIINSTALLCONTEXT_USERUNMANAGED
= 2,
198 MSIINSTALLCONTEXT_MACHINE
= 4,
199 MSIINSTALLCONTEXT_ALL
= (MSIINSTALLCONTEXT_USERMANAGED
| MSIINSTALLCONTEXT_USERUNMANAGED
| MSIINSTALLCONTEXT_MACHINE
),
200 MSIINSTALLCONTEXT_ALLUSERMANAGED
= 8,
203 typedef enum tagMSISOURCETYPE
205 MSISOURCETYPE_UNKNOWN
= __MSABI_LONG(0x00000000),
206 MSISOURCETYPE_NETWORK
= __MSABI_LONG(0x00000001),
207 MSISOURCETYPE_URL
= __MSABI_LONG(0x00000002),
208 MSISOURCETYPE_MEDIA
= __MSABI_LONG(0x00000004)
211 typedef enum tagMSICODE
213 MSICODE_PRODUCT
= __MSABI_LONG(0x00000000),
214 MSICODE_PATCH
= __MSABI_LONG(0x40000000)
217 typedef enum tagINSTALLFEATUREATTRIBUTE
219 INSTALLFEATUREATTRIBUTE_FAVORLOCAL
= 1 << 0,
220 INSTALLFEATUREATTRIBUTE_FAVORSOURCE
= 1 << 1,
221 INSTALLFEATUREATTRIBUTE_FOLLOWPARENT
= 1 << 2,
222 INSTALLFEATUREATTRIBUTE_FAVORADVERTISE
= 1 << 3,
223 INSTALLFEATUREATTRIBUTE_DISALLOWADVERTISE
= 1 << 4,
224 INSTALLFEATUREATTRIBUTE_NOUNSUPPORTEDADVERTISE
= 1 << 5
225 } INSTALLFEATUREATTRIBUTE
;
227 typedef struct _MSIFILEHASHINFO
{
228 ULONG dwFileHashInfoSize
;
230 } MSIFILEHASHINFO
, *PMSIFILEHASHINFO
;
232 typedef enum tagMSIPATCHDATATYPE
234 MSIPATCH_DATATYPE_PATCHFILE
= 0,
235 MSIPATCH_DATATYPE_XMLPATH
= 1,
236 MSIPATCH_DATATYPE_XMLBLOB
= 2,
237 } MSIPATCHDATATYPE
, *PMSIPATCHDATATYPE
;
239 typedef struct tagMSIPATCHSEQUENCEINFOA
242 MSIPATCHDATATYPE ePatchDataType
;
245 } MSIPATCHSEQUENCEINFOA
, *PMSIPATCHSEQUENCEINFOA
;
247 typedef struct tagMSIPATCHSEQUENCEINFOW
250 MSIPATCHDATATYPE ePatchDataType
;
253 } MSIPATCHSEQUENCEINFOW
, *PMSIPATCHSEQUENCEINFOW
;
255 #define MAX_FEATURE_CHARS 38
257 #define ERROR_PATCH_TARGET_NOT_FOUND 1642
259 /* Strings defined in msi.h */
260 /* Advertised Information */
262 #define INSTALLPROPERTY_PACKAGENAMEA "PackageName"
263 static const WCHAR INSTALLPROPERTY_PACKAGENAMEW
[] = {'P','a','c','k','a','g','e','N','a','m','e',0};
264 #define INSTALLPROPERTY_PACKAGENAME WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGENAME)
266 #define INSTALLPROPERTY_TRANSFORMSA "Transforms"
267 static const WCHAR INSTALLPROPERTY_TRANSFORMSW
[] = {'T','r','a','n','s','f','o','r','m','s',0};
268 #define INSTALLPROPERTY_TRANSFORMS WINELIB_NAME_AW(INSTALLPROPERTY_TRANSFORMS)
270 #define INSTALLPROPERTY_LANGUAGEA "Language"
271 static const WCHAR INSTALLPROPERTY_LANGUAGEW
[] = {'L','a','n','g','u','a','g','e',0};
272 #define INSTALLPROPERTY_LANGUAGE WINELIB_NAME_AW(INSTALLPROPERTY_LANGUAGE)
274 #define INSTALLPROPERTY_PRODUCTNAMEA "ProductName"
275 static const WCHAR INSTALLPROPERTY_PRODUCTNAMEW
[] = {'P','r','o','d','u','c','t','N','a','m','e',0};
276 #define INSTALLPROPERTY_PRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTNAME)
278 #define INSTALLPROPERTY_ASSIGNMENTTYPEA "AssignmentType"
279 static const WCHAR INSTALLPROPERTY_ASSIGNMENTTYPEW
[] = {'A','s','s','i','g','n','m','e','n','t','T','y','p','e',0};
280 #define INSTALLPROPERTY_ASSIGNMENTTYPE WINELIB_NAME_AW(INSTALLPROPERTY_ASSIGNMENTTYPE)
282 #define INSTALLPROPERTY_PACKAGECODEA "PackageCode"
283 static const WCHAR INSTALLPROPERTY_PACKAGECODEW
[] = {'P','a','c','k','a','g','e','C','o','d','e',0};
284 #define INSTALLPROPERTY_PACKAGECODE WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGECODE)
286 #define INSTALLPROPERTY_VERSIONA "Version"
287 static const WCHAR INSTALLPROPERTY_VERSIONW
[]= {'V','e','r','s','i','o','n',0};
288 #define INSTALLPROPERTY_VERSION WINELIB_NAME_AW(INSTALLPROPERTY_VERSION)
290 /* MSI version 1.1 and above */
292 #define INSTALLPROPERTY_PRODUCTICONA "ProductIcon"
293 static const WCHAR INSTALLPROPERTY_PRODUCTICONW
[] = {'P','r','o','d','u','c','t','I','c','o','n',0};
294 #define INSTALLPROPERTY_PRODUCTICON WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTICON)
296 /* MSI version 1.5 and above */
297 #define INSTALLPROPERTY_INSTANCETYPEA "InstanceType"
298 static const WCHAR INSTALLPROPERTY_INSTANCETYPEW
[] = {'I','n','s','t','a','n','c','e','T','y','p','e',0};
299 #define INSTALLPROPERTY_INSTANCETYPE WINELIB_NAME_AW(INSTALLPROPERTY_INSTANCETYPE)
301 /* MSI version 3 and above */
302 #define INSTALLPROPERTY_AUTHORIZED_LUA_APPA "AuthorizedLUAApp"
303 static const WCHAR INSTALLPROPERTY_AUTHORIZED_LUA_APPW
[] = {'A','u','t','h','o','r','i','z','e','d','L','U','A','A','p','p',0};
304 #define INSTALLPROPERTY_AUTHORIZED_LUA_APP WINELIB_NAME_AW(INSTALLPROPERTY_AUTHORIZED_LUA_APP)
307 /* Installed Information */
308 #define INSTALLPROPERTY_INSTALLEDPRODUCTNAMEA "InstalledProductName"
309 static const WCHAR INSTALLPROPERTY_INSTALLEDPRODUCTNAMEW
[] = {'I','n','s','t','a','l','l','e','d','P','r','o','d','u','c','t','N','a','m','e',0};
310 #define INSTALLPROPERTY_INSTALLEDPRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLEDPRODUCTNAME)
312 #define INSTALLPROPERTY_VERSIONSTRINGA "VersionString"
313 static const WCHAR INSTALLPROPERTY_VERSIONSTRINGW
[] = {'V','e','r','s','i','o','n','S','t','r','i','n','g',0};
314 #define INSTALLPROPERTY_VERSIONSTRING WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONSTRING)
316 #define INSTALLPROPERTY_HELPLINKA "HelpLink"
317 static const WCHAR INSTALLPROPERTY_HELPLINKW
[] = {'H','e','l','p','L','i','n','k',0};
318 #define INSTALLPROPERTY_HELPLINK WINELIB_NAME_AW(INSTALLPROPERTY_HELPLINK)
320 #define INSTALLPROPERTY_HELPTELEPHONEA "HelpTelephone"
321 static const WCHAR INSTALLPROPERTY_HELPTELEPHONEW
[] = {'H','e','l','p','T','e','l','e','p','h','o','n','e',0};
322 #define INSTALLPROPERTY_HELPTELEPHONE WINELIB_NAME_AW(INSTALLPROPERTY_HELPTELEPHONE)
324 #define INSTALLPROPERTY_INSTALLLOCATIONA "InstallLocation"
325 static const WCHAR INSTALLPROPERTY_INSTALLLOCATIONW
[] = {'I','n','s','t','a','l','l','L','o','c','a','t','i','o','n',0};
326 #define INSTALLPROPERTY_INSTALLLOCATION WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLLOCATION)
328 #define INSTALLPROPERTY_INSTALLSOURCEA "InstallSource"
329 static const WCHAR INSTALLPROPERTY_INSTALLSOURCEW
[] = {'I','n','s','t','a','l','l','S','o','u','r','c','e',0};
330 #define INSTALLPROPERTY_INSTALLSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLSOURCE)
332 #define INSTALLPROPERTY_INSTALLDATEA "InstallDate"
333 static const WCHAR INSTALLPROPERTY_INSTALLDATEW
[] = {'I','n','s','t','a','l','l','D','a','t','e',0};
334 #define INSTALLPROPERTY_INSTALLDATE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLDATE)
336 #define INSTALLPROPERTY_PUBLISHERA "Publisher"
337 static const WCHAR INSTALLPROPERTY_PUBLISHERW
[] ={'P','u','b','l','i','s','h','e','r',0};
338 #define INSTALLPROPERTY_PUBLISHER WINELIB_NAME_AW(INSTALLPROPERTY_PUBLISHER)
340 #define INSTALLPROPERTY_LOCALPACKAGEA "LocalPackage"
341 static const WCHAR INSTALLPROPERTY_LOCALPACKAGEW
[] = {'L','o','c','a','l','P','a','c','k','a','g','e',0};
342 #define INSTALLPROPERTY_LOCALPACKAGE WINELIB_NAME_AW(INSTALLPROPERTY_LOCALPACKAGE)
344 #define INSTALLPROPERTY_URLINFOABOUTA "URLInfoAbout"
345 static const WCHAR INSTALLPROPERTY_URLINFOABOUTW
[] = {'U','R','L','I','n','f','o','A','b','o','u','t',0};
346 #define INSTALLPROPERTY_URLINFOABOUT WINELIB_NAME_AW(INSTALLPROPERTY_URLINFOABOUT)
348 #define INSTALLPROPERTY_URLUPDATEINFOA "URLUpdateInfo"
349 static const WCHAR INSTALLPROPERTY_URLUPDATEINFOW
[] = {'U','R','L','U','p','d','a','t','e','I','n','f','o',0};
350 #define INSTALLPROPERTY_URLUPDATEINFO WINELIB_NAME_AW(INSTALLPROPERTY_URLUPDATEINFO)
352 #define INSTALLPROPERTY_VERSIONMINORA "VersionMinor"
353 static const WCHAR INSTALLPROPERTY_VERSIONMINORW
[] = {'V','e','r','s','i','o','n','M','i','n','o','r',0};
354 #define INSTALLPROPERTY_VERSIONMINOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMINOR)
356 #define INSTALLPROPERTY_VERSIONMAJORA "VersionMajor"
357 static const WCHAR INSTALLPROPERTY_VERSIONMAJORW
[] = {'V','e','r','s','i','o','n','M','a','j','o','r',0};
358 #define INSTALLPROPERTY_VERSIONMAJOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMAJOR)
360 #define INSTALLPROPERTY_PRODUCTIDA "ProductID"
361 static const WCHAR INSTALLPROPERTY_PRODUCTIDW
[] = {'P','r','o','d','u','c','t','I','D',0};
362 #define INSTALLPROPERTY_PRODUCTID WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTID)
364 #define INSTALLPROPERTY_REGCOMPANYA "RegCompany"
365 static const WCHAR INSTALLPROPERTY_REGCOMPANYW
[] = {'R','e','g','C','o','m','p','a','n','y',0};
366 #define INSTALLPROPERTY_REGCOMPANY WINELIB_NAME_AW(INSTALLPROPERTY_REGCOMPANY)
368 #define INSTALLPROPERTY_REGOWNERA "RegOwner"
369 static const WCHAR INSTALLPROPERTY_REGOWNERW
[] = {'R','e','g','O','w','n','e','r',0};
370 #define INSTALLPROPERTY_REGOWNER WINELIB_NAME_AW(INSTALLPROPERTY_REGOWNER)
372 /* MSI Version 3.0 and greater */
373 #define INSTALLPROPERTY_UNINSTALLABLEA "Uninstallable"
374 static const WCHAR INSTALLPROPERTY_UNINSTALLABLEW
[] = {'U','n','i','n','s','t','a','l','l','a','b','l','e',0};
375 #define INSTALLPROPERTY_UNINSTALLABLE WINELIB_NAME_AW(INSTALLPROPERTY_UNINSTALLABLE)
377 #define INSTALLPROPERTY_PRODUCTSTATEA "State"
378 static const WCHAR INSTALLPROPERTY_PRODUCTSTATEW
[] = {'S','t','a','t','e',0};
379 #define INSTALLPROPERTY_PRODUCTSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTSTATE)
381 #define INSTALLPROPERTY_PATCHSTATEA "State"
382 static const WCHAR INSTALLPROPERTY_PATCHSTATEW
[] ={'S','t','a','t','e',0};
383 #define INSTALLPROPERTY_PATCHSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHSTATE)
385 #define INSTALLPROPERTY_PATCHTYPEA "PatchType"
386 static const WCHAR INSTALLPROPERTY_PATCHTYPEW
[] = {'P','a','t','c','h','T','y','p','e',0};
387 #define INSTALLPROPERTY_PATCHTYPE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHTYPE)
389 #define INSTALLPROPERTY_LUAENABLEDA "LUAEnabled"
390 static const WCHAR INSTALLPROPERTY_LUAENABLEDW
[] = {'L','U','A','E','n','a','b','l','e','d',0};
391 #define INSTALLPROPERTY_LUAENABLED WINELIB_NAME_AW(INSTALLPROPERTY_LUAENABLED)
393 #define INSTALLPROPERTY_DISPLAYNAMEA "DisplayName"
394 static const WCHAR INSTALLPROPERTY_DISPLAYNAMEW
[] = {'D','i','s','p','l','a','y','N','a','m','e',0};
395 #define INSTALLPROPERTY_DISPLAYNAME WINELIB_NAME_AW(INSTALLPROPERTY_DISPLAYNAME)
397 #define INSTALLPROPERTY_MOREINFOURLA "MoreInfoURL"
398 static const WCHAR INSTALLPROPERTY_MOREINFOURLW
[] = {'M','o','r','e','I','n','f','o','U','R','L',0};
399 #define INSTALLPROPERTY_MOREINFOURL WINELIB_NAME_AW(INSTALLPROPERTY_MOREINFOURL)
401 /* Source List Info */
402 #define INSTALLPROPERTY_LASTUSEDSOURCEA "LastUsedSource"
403 static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW
[] = {'L','a','s','t','U','s','e','d','S','o','u','r','c','e',0};
404 #define INSTALLPROPERTY_LASTUSEDSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCE)
406 #define INSTALLPROPERTY_LASTUSEDTYPEA "LastUsedType"
407 static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW
[] = {'L','a','s','t','U','s','e','d','T','y','p','e',0};
408 #define INSTALLPROPERTY_LASTUSEDTYPE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDTYPE)
410 #define INSTALLPROPERTY_MEDIAPACKAGEPATHA "MediaPackagePath"
411 static const WCHAR INSTALLPROPERTY_MEDIAPACKAGEPATHW
[] = {'M','e','d','i','a','P','a','c','k','a','g','e','P','a','t','h',0};
412 #define INSTALLPROPERTY_MEDIAPACKAGEPATH WINELIB_NAME_AW(INSTALLPROPERTY_MEDIAPACKAGEPATH)
414 #define INSTALLPROPERTY_DISKPROMPTA "DiskPrompt"
415 static const WCHAR INSTALLPROPERTY_DISKPROMPTW
[] = {'D','i','s','k','P','r','o','m','p','t',0};
416 #define INSTALLPROPERTY_DISKPROMPT WINELIB_NAME_AW(INSTALLPROPERTY_DISKPROMPT)
418 typedef INT (CALLBACK
*INSTALLUI_HANDLERA
)(LPVOID
, UINT
, LPCSTR
);
419 typedef INT (CALLBACK
*INSTALLUI_HANDLERW
)(LPVOID
, UINT
, LPCWSTR
);
420 typedef INT (CALLBACK
*INSTALLUI_HANDLER_RECORD
)(LPVOID
, UINT
, MSIHANDLE
);
421 typedef INSTALLUI_HANDLER_RECORD
* PINSTALLUI_HANDLER_RECORD
;
423 UINT WINAPI
MsiAdvertiseProductA(LPCSTR
, LPCSTR
, LPCSTR
, LANGID
);
424 UINT WINAPI
MsiAdvertiseProductW(LPCWSTR
, LPCWSTR
, LPCWSTR
, LANGID
);
425 #define MsiAdvertiseProduct WINELIB_NAME_AW(MsiAdvertiseProduct)
427 UINT WINAPI
MsiAdvertiseProductExA(LPCSTR
, LPCSTR
, LPCSTR
, LANGID
, DWORD
, DWORD
);
428 UINT WINAPI
MsiAdvertiseProductExW(LPCWSTR
, LPCWSTR
, LPCWSTR
, LANGID
, DWORD
, DWORD
);
429 #define MsiAdvertiseProductEx WINELIB_NAME_AW(MsiAdvertiseProductEx)
431 UINT WINAPI
MsiInstallProductA(LPCSTR
, LPCSTR
);
432 UINT WINAPI
MsiInstallProductW(LPCWSTR
, LPCWSTR
);
433 #define MsiInstallProduct WINELIB_NAME_AW(MsiInstallProduct)
435 UINT WINAPI
MsiReinstallProductA(LPCSTR
, DWORD
);
436 UINT WINAPI
MsiReinstallProductW(LPCWSTR
, DWORD
);
437 #define MsiReinstallProduct WINELIB_NAME_AW(MsiReinstallProduct)
439 UINT WINAPI
MsiApplyPatchA(LPCSTR
, LPCSTR
, INSTALLTYPE
, LPCSTR
);
440 UINT WINAPI
MsiApplyPatchW(LPCWSTR
, LPCWSTR
, INSTALLTYPE
, LPCWSTR
);
441 #define MsiApplyPatch WINELIB_NAME_AW(MsiApplyPatch)
443 UINT WINAPI
MsiEnumComponentCostsA(MSIHANDLE
, LPCSTR
, DWORD
, INSTALLSTATE
, LPSTR
, LPDWORD
, LPINT
, LPINT
);
444 UINT WINAPI
MsiEnumComponentCostsW(MSIHANDLE
, LPCWSTR
, DWORD
, INSTALLSTATE
, LPWSTR
, LPDWORD
, LPINT
, LPINT
);
445 #define MsiEnumComponentCosts WINELIB_NAME_AW(MsiEnumComponentCosts)
447 UINT WINAPI
MsiEnumProductsA(DWORD
, LPSTR
);
448 UINT WINAPI
MsiEnumProductsW(DWORD
, LPWSTR
);
449 #define MsiEnumProducts WINELIB_NAME_AW(MsiEnumProducts)
451 UINT WINAPI
MsiEnumProductsExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, CHAR
[39], MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
452 UINT WINAPI
MsiEnumProductsExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, WCHAR
[39], MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
453 #define MsiEnumProductsEx WINELIB_NAME_AW(MsiEnumProductsEx)
455 UINT WINAPI
MsiEnumFeaturesA(LPCSTR
, DWORD
, LPSTR
, LPSTR
);
456 UINT WINAPI
MsiEnumFeaturesW(LPCWSTR
, DWORD
, LPWSTR
, LPWSTR
);
457 #define MsiEnumFeatures WINELIB_NAME_AW(MsiEnumFeatures)
459 UINT WINAPI
MsiEnumComponentsA(DWORD
, LPSTR
);
460 UINT WINAPI
MsiEnumComponentsW(DWORD
, LPWSTR
);
461 #define MsiEnumComponents WINELIB_NAME_AW(MsiEnumComponents)
463 UINT WINAPI
MsiEnumComponentsExA(LPCSTR
, DWORD
, DWORD
, CHAR
[39],
464 MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
465 UINT WINAPI
MsiEnumComponentsExW(LPCWSTR
, DWORD
, DWORD
, WCHAR
[39],
466 MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
467 #define MsiEnumComponentsEx WINELIB_NAME_AW(MsiEnumComponentsEx)
469 UINT WINAPI
MsiEnumClientsA(LPCSTR
, DWORD
, LPSTR
);
470 UINT WINAPI
MsiEnumClientsW(LPCWSTR
, DWORD
, LPWSTR
);
471 #define MsiEnumClients WINELIB_NAME_AW(MsiEnumClients)
473 UINT WINAPI
MsiEnumClientsExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, CHAR
[39], MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
474 UINT WINAPI
MsiEnumClientsExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, WCHAR
[39], MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
475 #define MsiEnumClientsEx WINELIB_NAME_AW(MsiEnumClientsEx)
477 UINT WINAPI
MsiOpenPackageA(LPCSTR
, MSIHANDLE
*);
478 UINT WINAPI
MsiOpenPackageW(LPCWSTR
, MSIHANDLE
*);
479 #define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
481 UINT WINAPI
MsiOpenPackageExA(LPCSTR
, DWORD
, MSIHANDLE
*);
482 UINT WINAPI
MsiOpenPackageExW(LPCWSTR
, DWORD
, MSIHANDLE
*);
483 #define MsiOpenPackageEx WINELIB_NAME_AW(MsiOpenPackageEx)
485 UINT WINAPI
MsiOpenProductA(LPCSTR
, MSIHANDLE
*);
486 UINT WINAPI
MsiOpenProductW(LPCWSTR
, MSIHANDLE
*);
487 #define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
489 UINT WINAPI
MsiGetProductPropertyA(MSIHANDLE
,LPCSTR
,LPSTR
,LPDWORD
);
490 UINT WINAPI
MsiGetProductPropertyW(MSIHANDLE
,LPCWSTR
,LPWSTR
,LPDWORD
);
491 #define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
493 UINT WINAPI
MsiVerifyPackageA(LPCSTR
);
494 UINT WINAPI
MsiVerifyPackageW(LPCWSTR
);
495 #define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
497 UINT WINAPI
MsiQueryComponentStateA(LPCSTR
,LPCSTR
,MSIINSTALLCONTEXT
,LPCSTR
,INSTALLSTATE
*);
498 UINT WINAPI
MsiQueryComponentStateW(LPCWSTR
,LPCWSTR
,MSIINSTALLCONTEXT
,LPCWSTR
,INSTALLSTATE
*);
499 #define MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState)
501 INSTALLSTATE WINAPI
MsiQueryProductStateA(LPCSTR
);
502 INSTALLSTATE WINAPI
MsiQueryProductStateW(LPCWSTR
);
503 #define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
505 UINT WINAPI
MsiConfigureProductA(LPCSTR
, int, INSTALLSTATE
);
506 UINT WINAPI
MsiConfigureProductW(LPCWSTR
, int, INSTALLSTATE
);
507 #define MsiConfigureProduct WINELIB_NAME_AW(MsiConfigureProduct)
509 UINT WINAPI
MsiConfigureProductExA(LPCSTR
, int, INSTALLSTATE
, LPCSTR
);
510 UINT WINAPI
MsiConfigureProductExW(LPCWSTR
, int, INSTALLSTATE
, LPCWSTR
);
511 #define MsiConfigureProductEx WINELIB_NAME_AW(MsiConfigureProductEx)
513 UINT WINAPI
MsiConfigureFeatureA(LPCSTR
, LPCSTR
, INSTALLSTATE
);
514 UINT WINAPI
MsiConfigureFeatureW(LPCWSTR
, LPCWSTR
, INSTALLSTATE
);
515 #define MsiConfigureFeature WINELIB_NAME_AW(MsiConfigureFeature)
517 UINT WINAPI
MsiGetProductCodeA(LPCSTR
, LPSTR
);
518 UINT WINAPI
MsiGetProductCodeW(LPCWSTR
, LPWSTR
);
519 #define MsiGetProductCode WINELIB_NAME_AW(MsiGetProductCode)
521 UINT WINAPI
MsiGetProductInfoA(LPCSTR
, LPCSTR
, LPSTR
, LPDWORD
);
522 UINT WINAPI
MsiGetProductInfoW(LPCWSTR
, LPCWSTR
, LPWSTR
, LPDWORD
);
523 #define MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo)
525 UINT WINAPI
MsiGetProductInfoExA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPCSTR
, LPSTR
, LPDWORD
);
526 UINT WINAPI
MsiGetProductInfoExW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPCWSTR
, LPWSTR
, LPDWORD
);
527 #define MsiGetProductInfoEx WINELIB_NAME_AW(MsiGetProductInfoEx)
529 UINT WINAPI
MsiGetPatchFileListA(LPCSTR
, LPCSTR
, LPDWORD
, MSIHANDLE
**);
530 UINT WINAPI
MsiGetPatchFileListW(LPCWSTR
, LPCWSTR
, LPDWORD
, MSIHANDLE
**);
531 #define MsiGetPatchFileList WINELIB_NAME_AW(MsiGetPatchFileList)
533 UINT WINAPI
MsiGetPatchInfoExA(LPCSTR
, LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPCSTR
, LPSTR
, LPDWORD
);
534 UINT WINAPI
MsiGetPatchInfoExW(LPCWSTR
, LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPCWSTR
, LPWSTR
, LPDWORD
);
535 #define MsiGetPatchInfoEx WINELIB_NAME_AW(MsiGetPatchInfoEx)
537 UINT WINAPI
MsiGetPatchInfoA(LPCSTR
, LPCSTR
, LPSTR
, LPDWORD
);
538 UINT WINAPI
MsiGetPatchInfoW(LPCWSTR
, LPCWSTR
, LPWSTR
, LPDWORD
);
539 #define MsiGetPatchInfo WINELIB_NAME_AW(MsiGetPatchInfo)
541 UINT WINAPI
MsiEnableLogA(DWORD
, LPCSTR
, DWORD
);
542 UINT WINAPI
MsiEnableLogW(DWORD
, LPCWSTR
, DWORD
);
543 #define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
545 INSTALLUI_HANDLERA WINAPI
MsiSetExternalUIA(INSTALLUI_HANDLERA
, DWORD
, LPVOID
);
546 INSTALLUI_HANDLERW WINAPI
MsiSetExternalUIW(INSTALLUI_HANDLERW
, DWORD
, LPVOID
);
547 #define MsiSetExternalUI WINELIB_NAME_AW(MsiSetExternalUI)
549 INSTALLSTATE WINAPI
MsiGetComponentPathA(LPCSTR
, LPCSTR
, LPSTR
, LPDWORD
);
550 INSTALLSTATE WINAPI
MsiGetComponentPathW(LPCWSTR
, LPCWSTR
, LPWSTR
, LPDWORD
);
551 #define MsiGetComponentPath WINELIB_NAME_AW(MsiGetComponentPath)
553 INSTALLSTATE WINAPI
MsiGetComponentPathExA(LPCSTR
, LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPSTR
, LPDWORD
);
554 INSTALLSTATE WINAPI
MsiGetComponentPathExW(LPCWSTR
, LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPWSTR
, LPDWORD
);
555 #define MsiGetComponentPathEx WINELIB_NAME_AW(MsiGetComponentPathEx)
557 INSTALLSTATE WINAPI
MsiQueryFeatureStateA(LPCSTR
, LPCSTR
);
558 INSTALLSTATE WINAPI
MsiQueryFeatureStateW(LPCWSTR
, LPCWSTR
);
559 #define MsiQueryFeatureState WINELIB_NAME_AW(MsiQueryFeatureState)
561 UINT WINAPI
MsiQueryFeatureStateExA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPCSTR
, INSTALLSTATE
*);
562 UINT WINAPI
MsiQueryFeatureStateExW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPCWSTR
, INSTALLSTATE
*);
563 #define MsiQueryFeatureStateEx WINELIB_NAME_AW(MsiQueryFeatureStateEx)
565 UINT WINAPI
MsiGetFeatureInfoA(MSIHANDLE
, LPCSTR
, LPDWORD
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
566 UINT WINAPI
MsiGetFeatureInfoW(MSIHANDLE
, LPCWSTR
, LPDWORD
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
567 #define MsiGetFeatureInfo WINELIB_NAME_AW(MsiGetFeatureInfo)
569 UINT WINAPI
MsiGetFeatureUsageA(LPCSTR
, LPCSTR
, LPDWORD
, LPWORD
);
570 UINT WINAPI
MsiGetFeatureUsageW(LPCWSTR
, LPCWSTR
, LPDWORD
, LPWORD
);
571 #define MsiGetFeatureUsage WINELIB_NAME_AW(MsiGetFeatureUsage)
573 UINT WINAPI
MsiEnumRelatedProductsA(LPCSTR
, DWORD
, DWORD
, LPSTR
);
574 UINT WINAPI
MsiEnumRelatedProductsW(LPCWSTR
, DWORD
, DWORD
, LPWSTR
);
575 #define MsiEnumRelatedProducts WINELIB_NAME_AW(MsiEnumRelatedProducts)
577 UINT WINAPI
MsiProvideAssemblyA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, LPSTR
, LPDWORD
);
578 UINT WINAPI
MsiProvideAssemblyW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, LPWSTR
, LPDWORD
);
579 #define MsiProvideAssembly WINELIB_NAME_AW(MsiProvideAssembly)
581 UINT WINAPI
MsiEnumComponentQualifiersA(LPCSTR
, DWORD
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
582 UINT WINAPI
MsiEnumComponentQualifiersW(LPCWSTR
, DWORD
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
583 #define MsiEnumComponentQualifiers WINELIB_NAME_AW(MsiEnumComponentQualifiers)
585 UINT WINAPI
MsiGetFileVersionA(LPCSTR
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
586 UINT WINAPI
MsiGetFileVersionW(LPCWSTR
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
587 #define MsiGetFileVersion WINELIB_NAME_AW(MsiGetFileVersion)
589 UINT WINAPI
MsiMessageBoxA(HWND
, LPCSTR
, LPCSTR
, UINT
, WORD
, DWORD
);
590 UINT WINAPI
MsiMessageBoxW(HWND
, LPCWSTR
, LPCWSTR
, UINT
, WORD
, DWORD
);
591 #define MsiMessageBox WINELIB_NAME_AW(MsiMessageBox)
593 UINT WINAPI
MsiProvideQualifiedComponentExA(LPCSTR
, LPCSTR
, DWORD
, LPCSTR
, DWORD
, DWORD
, LPSTR
, LPDWORD
);
594 UINT WINAPI
MsiProvideQualifiedComponentExW(LPCWSTR
, LPCWSTR
, DWORD
, LPCWSTR
, DWORD
, DWORD
, LPWSTR
, LPDWORD
);
595 #define MsiProvideQualifiedComponentEx WINELIB_NAME_AW(MsiProvideQualifiedComponentEx)
597 UINT WINAPI
MsiProvideQualifiedComponentA(LPCSTR
, LPCSTR
, DWORD
, LPSTR
, LPDWORD
);
598 UINT WINAPI
MsiProvideQualifiedComponentW(LPCWSTR
, LPCWSTR
, DWORD
, LPWSTR
, LPDWORD
);
599 #define MsiProvideQualifiedComponent WINELIB_NAME_AW(MsiProvideQualifiedComponent)
601 USERINFOSTATE WINAPI
MsiGetUserInfoA(LPCSTR
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
602 USERINFOSTATE WINAPI
MsiGetUserInfoW(LPCWSTR
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
603 #define MsiGetUserInfo WINELIB_NAME_AW(MsiGetUserInfo)
605 UINT WINAPI
MsiProvidedComponentA(LPCSTR
, LPCSTR
, LPCSTR
, DWORD
, LPSTR
, LPDWORD
);
606 UINT WINAPI
MsiProvideComponentW(LPCWSTR
, LPCWSTR
, LPCWSTR
, DWORD
, LPWSTR
, LPDWORD
);
607 #define MsiProvideComponent WINELIB_NAME_AW(MsiProvideComponent)
609 UINT WINAPI
MsiCollectUserInfoA(LPCSTR
);
610 UINT WINAPI
MsiCollectUserInfoW(LPCWSTR
);
611 #define MsiCollectUserInfo WINELIB_NAME_AW(MsiCollectUserInfo)
613 UINT WINAPI
MsiReinstallFeatureA(LPCSTR
, LPCSTR
, DWORD
);
614 UINT WINAPI
MsiReinstallFeatureW(LPCWSTR
, LPCWSTR
, DWORD
);
615 #define MsiReinstallFeature WINELIB_NAME_AW(MsiReinstallFeature)
617 UINT WINAPI
MsiGetShortcutTargetA(LPCSTR
, LPSTR
, LPSTR
, LPSTR
);
618 UINT WINAPI
MsiGetShortcutTargetW(LPCWSTR
, LPWSTR
, LPWSTR
, LPWSTR
);
619 #define MsiGetShortcutTarget WINELIB_NAME_AW(MsiGetShortcutTarget)
621 INSTALLSTATE WINAPI
MsiUseFeatureW(LPCWSTR
, LPCWSTR
);
622 INSTALLSTATE WINAPI
MsiUseFeatureA(LPCSTR
, LPCSTR
);
623 #define MsiUseFeature WINELIB_NAME_AW(MsiUseFeature)
625 INSTALLSTATE WINAPI
MsiUseFeatureExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
);
626 INSTALLSTATE WINAPI
MsiUseFeatureExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
);
627 #define MsiUseFeatureEx WINELIB_NAME_AW(MsiUseFeatureEx)
629 HRESULT WINAPI
MsiGetFileSignatureInformationA(LPCSTR
, DWORD
, PCCERT_CONTEXT
*, LPBYTE
, LPDWORD
);
630 HRESULT WINAPI
MsiGetFileSignatureInformationW(LPCWSTR
, DWORD
, PCCERT_CONTEXT
*, LPBYTE
, LPDWORD
);
631 #define MsiGetFileSignatureInformation WINELIB_NAME_AW(MsiGetFileSignatureInformation)
633 INSTALLSTATE WINAPI
MsiLocateComponentA(LPCSTR
, LPSTR
, LPDWORD
);
634 INSTALLSTATE WINAPI
MsiLocateComponentW(LPCWSTR
, LPWSTR
, LPDWORD
);
635 #define MsiLocateComponent WINELIB_NAME_AW(MsiLocateComponent)
637 UINT WINAPI
MsiSourceListAddSourceA(LPCSTR
, LPCSTR
, DWORD
, LPCSTR
);
638 UINT WINAPI
MsiSourceListAddSourceW(LPCWSTR
, LPCWSTR
, DWORD
, LPCWSTR
);
639 #define MsiSourceListAddSource WINELIB_NAME_AW(MsiSourceListAddSource)
641 UINT WINAPI
MsiSourceListEnumMediaDisksA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPDWORD
,
642 LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
643 UINT WINAPI
MsiSourceListEnumMediaDisksW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPDWORD
,
644 LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
645 #define MsiSourceListEnumMediaDisks WINELIB_NAME_AW(MsiSourceListEnumMediaDisks)
647 UINT WINAPI
MsiSourceListEnumSourcesA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPSTR
, LPDWORD
);
648 UINT WINAPI
MsiSourceListEnumSourcesW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPWSTR
, LPDWORD
);
649 #define MsiSourceListEnumSources WINELIB_NAME_AW(MsiSourceListEnumSources)
651 UINT WINAPI
MsiSourceListClearSourceA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
);
652 UINT WINAPI
MsiSourceListClearSourceW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
);
653 #define MsiSourceListClearSource WINELIB_NAME_AW(MsiSourceListClearSource)
655 UINT WINAPI
MsiSourceListClearAllA(LPCSTR
, LPCSTR
, DWORD
);
656 UINT WINAPI
MsiSourceListClearAllW(LPCWSTR
, LPCWSTR
, DWORD
);
657 #define MsiSourceListClearAll WINELIB_NAME_AW(MsiSourceListClearAll)
659 UINT WINAPI
MsiSourceListGetInfoA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
, LPSTR
, LPDWORD
);
660 UINT WINAPI
MsiSourceListGetInfoW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
, LPWSTR
, LPDWORD
);
661 #define MsiSourceListGetInfo WINELIB_NAME_AW(MsiSourceListGetInfo)
663 UINT WINAPI
MsiSourceListSetInfoA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
, LPCSTR
);
664 UINT WINAPI
MsiSourceListSetInfoW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
, LPCWSTR
);
665 #define MsiSourceListSetInfo WINELIB_NAME_AW(MsiSourceListSetInfo)
667 UINT WINAPI
MsiSourceListAddSourceExA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
, DWORD
);
668 UINT WINAPI
MsiSourceListAddSourceExW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
, DWORD
);
669 #define MsiSourceListAddSourceEx WINELIB_NAME_AW(MsiSourceListAddSourceEx)
671 UINT WINAPI
MsiSourceListAddMediaDiskA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPCSTR
, LPCSTR
);
672 UINT WINAPI
MsiSourceListAddMediaDiskW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPCWSTR
, LPCWSTR
);
673 #define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk)
675 UINT WINAPI
MsiSourceListForceResolutionA(const CHAR
*, const CHAR
*, DWORD
);
676 UINT WINAPI
MsiSourceListForceResolutionW(const WCHAR
*, const WCHAR
*, DWORD
);
677 #define MsiSourceListForceResolution WINELIB_NAME_AW(MsiSourceListForceResolution)
679 UINT WINAPI
MsiEnumPatchesA(LPCSTR
, DWORD
, LPSTR
, LPSTR
, LPDWORD
);
680 UINT WINAPI
MsiEnumPatchesW(LPCWSTR
, DWORD
, LPWSTR
, LPWSTR
, LPDWORD
);
681 #define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches)
683 UINT WINAPI
MsiEnumPatchesExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, DWORD
, LPSTR
, LPSTR
,
684 MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
685 UINT WINAPI
MsiEnumPatchesExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, DWORD
, LPWSTR
, LPWSTR
,
686 MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
687 #define MsiEnumPatchesEx WINELIB_NAME_AW(MsiEnumPatchesEx)
689 UINT WINAPI
MsiGetFileHashA(LPCSTR
, DWORD
, PMSIFILEHASHINFO
);
690 UINT WINAPI
MsiGetFileHashW(LPCWSTR
, DWORD
, PMSIFILEHASHINFO
);
691 #define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash)
693 UINT WINAPI
MsiAdvertiseScriptA(LPCSTR
, DWORD
, PHKEY
, BOOL
);
694 UINT WINAPI
MsiAdvertiseScriptW(LPCWSTR
, DWORD
, PHKEY
, BOOL
);
695 #define MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript)
697 UINT WINAPI
MsiIsProductElevatedA(LPCSTR
, BOOL
*);
698 UINT WINAPI
MsiIsProductElevatedW(LPCWSTR
, BOOL
*);
699 #define MsiIsProductElevated WINELIB_NAME_AW(MsiIsProductElevated)
701 UINT WINAPI
MsiDatabaseMergeA(MSIHANDLE
, MSIHANDLE
, LPCSTR
);
702 UINT WINAPI
MsiDatabaseMergeW(MSIHANDLE
, MSIHANDLE
, LPCWSTR
);
703 #define MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge)
705 UINT WINAPI
MsiInstallMissingComponentA(LPCSTR
, LPCSTR
, INSTALLSTATE
);
706 UINT WINAPI
MsiInstallMissingComponentW(LPCWSTR
, LPCWSTR
, INSTALLSTATE
);
707 #define MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent)
709 UINT WINAPI
MsiDetermineApplicablePatchesA(LPCSTR
, DWORD
, PMSIPATCHSEQUENCEINFOA
);
710 UINT WINAPI
MsiDetermineApplicablePatchesW(LPCWSTR
, DWORD
, PMSIPATCHSEQUENCEINFOW
);
711 #define MsiDetermineApplicablePatches WINELIB_NAME_AW(MsiDetermineApplicablePatches)
713 UINT WINAPI
MsiDeterminePatchSequenceA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, PMSIPATCHSEQUENCEINFOA
);
714 UINT WINAPI
MsiDeterminePatchSequenceW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, PMSIPATCHSEQUENCEINFOW
);
715 #define MsiDeterminePatchSequence WINELIB_NAME_AW(MsiDeterminePatchSequence)
717 UINT WINAPI
MsiApplyMultiplePatchesA(LPCSTR
, LPCSTR
, LPCSTR
);
718 UINT WINAPI
MsiApplyMultiplePatchesW(LPCWSTR
, LPCWSTR
, LPCWSTR
);
719 #define MsiApplyMultiplePatches WINELIB_NAME_AW(MsiApplyMultiplePatches)
721 UINT WINAPI
MsiBeginTransactionA(LPCSTR
, DWORD
, MSIHANDLE
*, HANDLE
*);
722 UINT WINAPI
MsiBeginTransactionW(LPCWSTR
, DWORD
, MSIHANDLE
*, HANDLE
*);
723 #define MsiBeginTransaction WINELIB_NAME_AW(MsiBeginTransaction)
725 UINT WINAPI
MsiJoinTransaction(MSIHANDLE
, DWORD
, HANDLE
*);
726 UINT WINAPI
MsiEndTransaction(DWORD
);
729 UINT WINAPI
MsiCloseHandle(MSIHANDLE
);
730 UINT WINAPI
MsiCloseAllHandles(void);
731 INSTALLUILEVEL WINAPI
MsiSetInternalUI(INSTALLUILEVEL
, HWND
*);
732 UINT WINAPI
MsiSetExternalUIRecord(INSTALLUI_HANDLER_RECORD
, DWORD
, LPVOID
, PINSTALLUI_HANDLER_RECORD
);
738 #endif /* __WINE_MSI_H */