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
109 typedef enum tagREINSTALLMODE
111 REINSTALLMODE_REPAIR
= 0x00000001,
112 REINSTALLMODE_FILEMISSING
= 0x00000002,
113 REINSTALLMODE_FILEOLDERVERSION
= 0x00000004,
114 REINSTALLMODE_FILEEQUALVERSION
= 0x00000008,
115 REINSTALLMODE_FILEEXACT
= 0x00000010,
116 REINSTALLMODE_FILEVERIFY
= 0x00000020,
117 REINSTALLMODE_FILEREPLACE
= 0x00000040,
118 REINSTALLMODE_MACHINEDATA
= 0x00000080,
119 REINSTALLMODE_USERDATA
= 0x00000100,
120 REINSTALLMODE_SHORTCUT
= 0x00000200,
121 REINSTALLMODE_PACKAGE
= 0x00000400
124 typedef enum tagINSTALLLOGMODE
126 INSTALLLOGMODE_FATALEXIT
= (1 << (INSTALLMESSAGE_FATALEXIT
>> 24)),
127 INSTALLLOGMODE_ERROR
= (1 << (INSTALLMESSAGE_ERROR
>> 24)),
128 INSTALLLOGMODE_WARNING
= (1 << (INSTALLMESSAGE_WARNING
>> 24)),
129 INSTALLLOGMODE_USER
= (1 << (INSTALLMESSAGE_USER
>> 24)),
130 INSTALLLOGMODE_INFO
= (1 << (INSTALLMESSAGE_INFO
>> 24)),
131 INSTALLLOGMODE_RESOLVESOURCE
= (1 << (INSTALLMESSAGE_RESOLVESOURCE
>> 24)),
132 INSTALLLOGMODE_OUTOFDISKSPACE
= (1 << (INSTALLMESSAGE_OUTOFDISKSPACE
>> 24)),
133 INSTALLLOGMODE_ACTIONSTART
= (1 << (INSTALLMESSAGE_ACTIONSTART
>> 24)),
134 INSTALLLOGMODE_ACTIONDATA
= (1 << (INSTALLMESSAGE_ACTIONDATA
>> 24)),
135 INSTALLLOGMODE_COMMONDATA
= (1 << (INSTALLMESSAGE_COMMONDATA
>> 24)),
136 INSTALLLOGMODE_PROPERTYDUMP
= (1 << (INSTALLMESSAGE_PROGRESS
>> 24)),
137 INSTALLLOGMODE_VERBOSE
= (1 << (INSTALLMESSAGE_INITIALIZE
>> 24)),
138 INSTALLLOGMODE_EXTRADEBUG
= (1 << (INSTALLMESSAGE_TERMINATE
>> 24)),
139 INSTALLLOGMODE_PROGRESS
= (1 << (INSTALLMESSAGE_PROGRESS
>> 24)),
140 INSTALLLOGMODE_INITIALIZE
= (1 << (INSTALLMESSAGE_INITIALIZE
>> 24)),
141 INSTALLLOGMODE_TERMINATE
= (1 << (INSTALLMESSAGE_TERMINATE
>> 24)),
142 INSTALLLOGMODE_SHOWDIALOG
= (1 << (INSTALLMESSAGE_SHOWDIALOG
>> 24))
145 typedef enum tagINSTALLLOGATTRIBUTES
147 INSTALLLOGATTRIBUTES_APPEND
= 0x00000001,
148 INSTALLLOGATTRIBUTES_FLUSHEACHLINE
= 0x00000002
149 } INSTALLLOGATTRIBUTES
;
151 typedef enum tagINSTALLMODE
153 INSTALLMODE_NODETECTION_ANY
= -4,
154 INSTALLMODE_NOSOURCERESOLUTION
= -3,
155 INSTALLMODE_NODETECTION
= -2,
156 INSTALLMODE_EXISTING
= -1,
157 INSTALLMODE_DEFAULT
= 0
160 typedef enum tagADVERTISEFLAGS
162 ADVERTISEFLAGS_MACHINEASSIGN
= 0,
163 ADVERTISEFLAGS_USERASSIGN
= 1
166 typedef enum tagSCRIPTFLAGS
168 SCRIPTFLAGS_CACHEINFO
= 1,
169 SCRIPTFLAGS_SHORTCUTS
= 4,
170 SCRIPTFLAGS_MACHINEASSIGN
= 8,
171 SCRIPTFLAGS_REGDATA_APPINFO
= 0x10,
172 SCRIPTFLAGS_REGDATA_CNFGINFO
= 0x20,
173 SCRIPTFLAGS_VALIDATE_TRANSFORMS_LIST
= 0x40,
174 SCRIPTFLAGS_REGDATA_CLASSINFO
= 0x80,
175 SCRIPTFLAGS_REGDATA_EXTENSIONINFO
= 0x100,
178 typedef enum tagINSTALLTYPE
180 INSTALLTYPE_DEFAULT
= 0,
181 INSTALLTYPE_NETWORK_IMAGE
= 1,
182 INSTALLTYPE_SINGLE_INSTANCE
= 2,
185 typedef enum tagMSIINSTALLCONTEXT
187 MSIINSTALLCONTEXT_FIRSTVISIBLE
= 0,
188 MSIINSTALLCONTEXT_NONE
= 0,
189 MSIINSTALLCONTEXT_USERMANAGED
= 1,
190 MSIINSTALLCONTEXT_USERUNMANAGED
= 2,
191 MSIINSTALLCONTEXT_MACHINE
= 4,
192 MSIINSTALLCONTEXT_ALL
= (MSIINSTALLCONTEXT_USERMANAGED
| MSIINSTALLCONTEXT_USERUNMANAGED
| MSIINSTALLCONTEXT_MACHINE
),
193 MSIINSTALLCONTEXT_ALLUSERMANAGED
= 8,
196 typedef enum tagMSISOURCETYPE
198 MSISOURCETYPE_UNKNOWN
= __MSABI_LONG(0x00000000),
199 MSISOURCETYPE_NETWORK
= __MSABI_LONG(0x00000001),
200 MSISOURCETYPE_URL
= __MSABI_LONG(0x00000002),
201 MSISOURCETYPE_MEDIA
= __MSABI_LONG(0x00000004)
204 typedef enum tagMSICODE
206 MSICODE_PRODUCT
= __MSABI_LONG(0x00000000),
207 MSICODE_PATCH
= __MSABI_LONG(0x40000000)
210 typedef enum tagINSTALLFEATUREATTRIBUTE
212 INSTALLFEATUREATTRIBUTE_FAVORLOCAL
= 1 << 0,
213 INSTALLFEATUREATTRIBUTE_FAVORSOURCE
= 1 << 1,
214 INSTALLFEATUREATTRIBUTE_FOLLOWPARENT
= 1 << 2,
215 INSTALLFEATUREATTRIBUTE_FAVORADVERTISE
= 1 << 3,
216 INSTALLFEATUREATTRIBUTE_DISALLOWADVERTISE
= 1 << 4,
217 INSTALLFEATUREATTRIBUTE_NOUNSUPPORTEDADVERTISE
= 1 << 5
218 } INSTALLFEATUREATTRIBUTE
;
220 typedef struct _MSIFILEHASHINFO
{
221 ULONG dwFileHashInfoSize
;
223 } MSIFILEHASHINFO
, *PMSIFILEHASHINFO
;
225 typedef enum tagMSIPATCHDATATYPE
227 MSIPATCH_DATATYPE_PATCHFILE
= 0,
228 MSIPATCH_DATATYPE_XMLPATH
= 1,
229 MSIPATCH_DATATYPE_XMLBLOB
= 2,
230 } MSIPATCHDATATYPE
, *PMSIPATCHDATATYPE
;
232 typedef struct tagMSIPATCHSEQUENCEINFOA
235 MSIPATCHDATATYPE ePatchDataType
;
238 } MSIPATCHSEQUENCEINFOA
, *PMSIPATCHSEQUENCEINFOA
;
240 typedef struct tagMSIPATCHSEQUENCEINFOW
243 MSIPATCHDATATYPE ePatchDataType
;
246 } MSIPATCHSEQUENCEINFOW
, *PMSIPATCHSEQUENCEINFOW
;
248 #define MAX_FEATURE_CHARS 38
250 #define ERROR_PATCH_TARGET_NOT_FOUND 1642
252 /* Strings defined in msi.h */
253 /* Advertised Information */
255 #define INSTALLPROPERTY_PACKAGENAMEA "PackageName"
256 static const WCHAR INSTALLPROPERTY_PACKAGENAMEW
[] = {'P','a','c','k','a','g','e','N','a','m','e',0};
257 #define INSTALLPROPERTY_PACKAGENAME WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGENAME)
259 #define INSTALLPROPERTY_TRANSFORMSA "Transforms"
260 static const WCHAR INSTALLPROPERTY_TRANSFORMSW
[] = {'T','r','a','n','s','f','o','r','m','s',0};
261 #define INSTALLPROPERTY_TRANSFORMS WINELIB_NAME_AW(INSTALLPROPERTY_TRANSFORMS)
263 #define INSTALLPROPERTY_LANGUAGEA "Language"
264 static const WCHAR INSTALLPROPERTY_LANGUAGEW
[] = {'L','a','n','g','u','a','g','e',0};
265 #define INSTALLPROPERTY_LANGUAGE WINELIB_NAME_AW(INSTALLPROPERTY_LANGUAGE)
267 #define INSTALLPROPERTY_PRODUCTNAMEA "ProductName"
268 static const WCHAR INSTALLPROPERTY_PRODUCTNAMEW
[] = {'P','r','o','d','u','c','t','N','a','m','e',0};
269 #define INSTALLPROPERTY_PRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTNAME)
271 #define INSTALLPROPERTY_ASSIGNMENTTYPEA "AssignmentType"
272 static const WCHAR INSTALLPROPERTY_ASSIGNMENTTYPEW
[] = {'A','s','s','i','g','n','m','e','n','t','T','y','p','e',0};
273 #define INSTALLPROPERTY_ASSIGNMENTTYPE WINELIB_NAME_AW(INSTALLPROPERTY_ASSIGNMENTTYPE)
275 #define INSTALLPROPERTY_PACKAGECODEA "PackageCode"
276 static const WCHAR INSTALLPROPERTY_PACKAGECODEW
[] = {'P','a','c','k','a','g','e','C','o','d','e',0};
277 #define INSTALLPROPERTY_PACKAGECODE WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGECODE)
279 #define INSTALLPROPERTY_VERSIONA "Version"
280 static const WCHAR INSTALLPROPERTY_VERSIONW
[]= {'V','e','r','s','i','o','n',0};
281 #define INSTALLPROPERTY_VERSION WINELIB_NAME_AW(INSTALLPROPERTY_VERSION)
283 /* MSI version 1.1 and above */
285 #define INSTALLPROPERTY_PRODUCTICONA "ProductIcon"
286 static const WCHAR INSTALLPROPERTY_PRODUCTICONW
[] = {'P','r','o','d','u','c','t','I','c','o','n',0};
287 #define INSTALLPROPERTY_PRODUCTICON WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTICON)
289 /* MSI version 1.5 and above */
290 #define INSTALLPROPERTY_INSTANCETYPEA "InstanceType"
291 static const WCHAR INSTALLPROPERTY_INSTANCETYPEW
[] = {'I','n','s','t','a','n','c','e','T','y','p','e',0};
292 #define INSTALLPROPERTY_INSTANCETYPE WINELIB_NAME_AW(INSTALLPROPERTY_INSTANCETYPE)
294 /* MSI version 3 and above */
295 #define INSTALLPROPERTY_AUTHORIZED_LUA_APPA "AuthorizedLUAApp"
296 static const WCHAR INSTALLPROPERTY_AUTHORIZED_LUA_APPW
[] = {'A','u','t','h','o','r','i','z','e','d','L','U','A','A','p','p',0};
297 #define INSTALLPROPERTY_AUTHORIZED_LUA_APP WINELIB_NAME_AW(INSTALLPROPERTY_AUTHORIZED_LUA_APP)
300 /* Installed Information */
301 #define INSTALLPROPERTY_INSTALLEDPRODUCTNAMEA "InstalledProductName"
302 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};
303 #define INSTALLPROPERTY_INSTALLEDPRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLEDPRODUCTNAME)
305 #define INSTALLPROPERTY_VERSIONSTRINGA "VersionString"
306 static const WCHAR INSTALLPROPERTY_VERSIONSTRINGW
[] = {'V','e','r','s','i','o','n','S','t','r','i','n','g',0};
307 #define INSTALLPROPERTY_VERSIONSTRING WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONSTRING)
309 #define INSTALLPROPERTY_HELPLINKA "HelpLink"
310 static const WCHAR INSTALLPROPERTY_HELPLINKW
[] = {'H','e','l','p','L','i','n','k',0};
311 #define INSTALLPROPERTY_HELPLINK WINELIB_NAME_AW(INSTALLPROPERTY_HELPLINK)
313 #define INSTALLPROPERTY_HELPTELEPHONEA "HelpTelephone"
314 static const WCHAR INSTALLPROPERTY_HELPTELEPHONEW
[] = {'H','e','l','p','T','e','l','e','p','h','o','n','e',0};
315 #define INSTALLPROPERTY_HELPTELEPHONE WINELIB_NAME_AW(INSTALLPROPERTY_HELPTELEPHONE)
317 #define INSTALLPROPERTY_INSTALLLOCATIONA "InstallLocation"
318 static const WCHAR INSTALLPROPERTY_INSTALLLOCATIONW
[] = {'I','n','s','t','a','l','l','L','o','c','a','t','i','o','n',0};
319 #define INSTALLPROPERTY_INSTALLLOCATION WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLLOCATION)
321 #define INSTALLPROPERTY_INSTALLSOURCEA "InstallSource"
322 static const WCHAR INSTALLPROPERTY_INSTALLSOURCEW
[] = {'I','n','s','t','a','l','l','S','o','u','r','c','e',0};
323 #define INSTALLPROPERTY_INSTALLSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLSOURCE)
325 #define INSTALLPROPERTY_INSTALLDATEA "InstallDate"
326 static const WCHAR INSTALLPROPERTY_INSTALLDATEW
[] = {'I','n','s','t','a','l','l','D','a','t','e',0};
327 #define INSTALLPROPERTY_INSTALLDATE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLDATE)
329 #define INSTALLPROPERTY_PUBLISHERA "Publisher"
330 static const WCHAR INSTALLPROPERTY_PUBLISHERW
[] ={'P','u','b','l','i','s','h','e','r',0};
331 #define INSTALLPROPERTY_PUBLISHER WINELIB_NAME_AW(INSTALLPROPERTY_PUBLISHER)
333 #define INSTALLPROPERTY_LOCALPACKAGEA "LocalPackage"
334 static const WCHAR INSTALLPROPERTY_LOCALPACKAGEW
[] = {'L','o','c','a','l','P','a','c','k','a','g','e',0};
335 #define INSTALLPROPERTY_LOCALPACKAGE WINELIB_NAME_AW(INSTALLPROPERTY_LOCALPACKAGE)
337 #define INSTALLPROPERTY_URLINFOABOUTA "URLInfoAbout"
338 static const WCHAR INSTALLPROPERTY_URLINFOABOUTW
[] = {'U','R','L','I','n','f','o','A','b','o','u','t',0};
339 #define INSTALLPROPERTY_URLINFOABOUT WINELIB_NAME_AW(INSTALLPROPERTY_URLINFOABOUT)
341 #define INSTALLPROPERTY_URLUPDATEINFOA "URLUpdateInfo"
342 static const WCHAR INSTALLPROPERTY_URLUPDATEINFOW
[] = {'U','R','L','U','p','d','a','t','e','I','n','f','o',0};
343 #define INSTALLPROPERTY_URLUPDATEINFO WINELIB_NAME_AW(INSTALLPROPERTY_URLUPDATEINFO)
345 #define INSTALLPROPERTY_VERSIONMINORA "VersionMinor"
346 static const WCHAR INSTALLPROPERTY_VERSIONMINORW
[] = {'V','e','r','s','i','o','n','M','i','n','o','r',0};
347 #define INSTALLPROPERTY_VERSIONMINOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMINOR)
349 #define INSTALLPROPERTY_VERSIONMAJORA "VersionMajor"
350 static const WCHAR INSTALLPROPERTY_VERSIONMAJORW
[] = {'V','e','r','s','i','o','n','M','a','j','o','r',0};
351 #define INSTALLPROPERTY_VERSIONMAJOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMAJOR)
353 #define INSTALLPROPERTY_PRODUCTIDA "ProductID"
354 static const WCHAR INSTALLPROPERTY_PRODUCTIDW
[] = {'P','r','o','d','u','c','t','I','D',0};
355 #define INSTALLPROPERTY_PRODUCTID WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTID)
357 #define INSTALLPROPERTY_REGCOMPANYA "RegCompany"
358 static const WCHAR INSTALLPROPERTY_REGCOMPANYW
[] = {'R','e','g','C','o','m','p','a','n','y',0};
359 #define INSTALLPROPERTY_REGCOMPANY WINELIB_NAME_AW(INSTALLPROPERTY_REGCOMPANY)
361 #define INSTALLPROPERTY_REGOWNERA "RegOwner"
362 static const WCHAR INSTALLPROPERTY_REGOWNERW
[] = {'R','e','g','O','w','n','e','r',0};
363 #define INSTALLPROPERTY_REGOWNER WINELIB_NAME_AW(INSTALLPROPERTY_REGOWNER)
365 /* MSI Version 3.0 and greater */
366 #define INSTALLPROPERTY_UNINSTALLABLEA "Uninstallable"
367 static const WCHAR INSTALLPROPERTY_UNINSTALLABLEW
[] = {'U','n','i','n','s','t','a','l','l','a','b','l','e',0};
368 #define INSTALLPROPERTY_UNINSTALLABLE WINELIB_NAME_AW(INSTALLPROPERTY_UNINSTALLABLE)
370 #define INSTALLPROPERTY_PRODUCTSTATEA "State"
371 static const WCHAR INSTALLPROPERTY_PRODUCTSTATEW
[] = {'S','t','a','t','e',0};
372 #define INSTALLPROPERTY_PRODUCTSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTSTATE)
374 #define INSTALLPROPERTY_PATCHSTATEA "State"
375 static const WCHAR INSTALLPROPERTY_PATCHSTATEW
[] ={'S','t','a','t','e',0};
376 #define INSTALLPROPERTY_PATCHSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHSTATE)
378 #define INSTALLPROPERTY_PATCHTYPEA "PatchType"
379 static const WCHAR INSTALLPROPERTY_PATCHTYPEW
[] = {'P','a','t','c','h','T','y','p','e',0};
380 #define INSTALLPROPERTY_PATCHTYPE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHTYPE)
382 #define INSTALLPROPERTY_LUAENABLEDA "LUAEnabled"
383 static const WCHAR INSTALLPROPERTY_LUAENABLEDW
[] = {'L','U','A','E','n','a','b','l','e','d',0};
384 #define INSTALLPROPERTY_LUAENABLED WINELIB_NAME_AW(INSTALLPROPERTY_LUAENABLED)
386 #define INSTALLPROPERTY_DISPLAYNAMEA "DisplayName"
387 static const WCHAR INSTALLPROPERTY_DISPLAYNAMEW
[] = {'D','i','s','p','l','a','y','N','a','m','e',0};
388 #define INSTALLPROPERTY_DISPLAYNAME WINELIB_NAME_AW(INSTALLPROPERTY_DISPLAYNAME)
390 #define INSTALLPROPERTY_MOREINFOURLA "MoreInfoURL"
391 static const WCHAR INSTALLPROPERTY_MOREINFOURLW
[] = {'M','o','r','e','I','n','f','o','U','R','L',0};
392 #define INSTALLPROPERTY_MOREINFOURL WINELIB_NAME_AW(INSTALLPROPERTY_MOREINFOURL)
394 /* Source List Info */
395 #define INSTALLPROPERTY_LASTUSEDSOURCEA "LastUsedSource"
396 static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW
[] = {'L','a','s','t','U','s','e','d','S','o','u','r','c','e',0};
397 #define INSTALLPROPERTY_LASTUSEDSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCE)
399 #define INSTALLPROPERTY_LASTUSEDTYPEA "LastUsedType"
400 static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW
[] = {'L','a','s','t','U','s','e','d','T','y','p','e',0};
401 #define INSTALLPROPERTY_LASTUSEDTYPE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDTYPE)
403 #define INSTALLPROPERTY_MEDIAPACKAGEPATHA "MediaPackagePath"
404 static const WCHAR INSTALLPROPERTY_MEDIAPACKAGEPATHW
[] = {'M','e','d','i','a','P','a','c','k','a','g','e','P','a','t','h',0};
405 #define INSTALLPROPERTY_MEDIAPACKAGEPATH WINELIB_NAME_AW(INSTALLPROPERTY_MEDIAPACKAGEPATH)
407 #define INSTALLPROPERTY_DISKPROMPTA "DiskPrompt"
408 static const WCHAR INSTALLPROPERTY_DISKPROMPTW
[] = {'D','i','s','k','P','r','o','m','p','t',0};
409 #define INSTALLPROPERTY_DISKPROMPT WINELIB_NAME_AW(INSTALLPROPERTY_DISKPROMPT)
411 typedef INT (CALLBACK
*INSTALLUI_HANDLERA
)(LPVOID
, UINT
, LPCSTR
);
412 typedef INT (CALLBACK
*INSTALLUI_HANDLERW
)(LPVOID
, UINT
, LPCWSTR
);
413 typedef INT (CALLBACK
*INSTALLUI_HANDLER_RECORD
)(LPVOID
, UINT
, MSIHANDLE
);
414 typedef INSTALLUI_HANDLER_RECORD
* PINSTALLUI_HANDLER_RECORD
;
416 UINT WINAPI
MsiAdvertiseProductA(LPCSTR
, LPCSTR
, LPCSTR
, LANGID
);
417 UINT WINAPI
MsiAdvertiseProductW(LPCWSTR
, LPCWSTR
, LPCWSTR
, LANGID
);
418 #define MsiAdvertiseProduct WINELIB_NAME_AW(MsiAdvertiseProduct)
420 UINT WINAPI
MsiAdvertiseProductExA(LPCSTR
, LPCSTR
, LPCSTR
, LANGID
, DWORD
, DWORD
);
421 UINT WINAPI
MsiAdvertiseProductExW(LPCWSTR
, LPCWSTR
, LPCWSTR
, LANGID
, DWORD
, DWORD
);
422 #define MsiAdvertiseProductEx WINELIB_NAME_AW(MsiAdvertiseProductEx)
424 UINT WINAPI
MsiInstallProductA(LPCSTR
, LPCSTR
);
425 UINT WINAPI
MsiInstallProductW(LPCWSTR
, LPCWSTR
);
426 #define MsiInstallProduct WINELIB_NAME_AW(MsiInstallProduct)
428 UINT WINAPI
MsiReinstallProductA(LPCSTR
, DWORD
);
429 UINT WINAPI
MsiReinstallProductW(LPCWSTR
, DWORD
);
430 #define MsiReinstallProduct WINELIB_NAME_AW(MsiReinstallProduct)
432 UINT WINAPI
MsiApplyPatchA(LPCSTR
, LPCSTR
, INSTALLTYPE
, LPCSTR
);
433 UINT WINAPI
MsiApplyPatchW(LPCWSTR
, LPCWSTR
, INSTALLTYPE
, LPCWSTR
);
434 #define MsiApplyPatch WINELIB_NAME_AW(MsiApplyPatch)
436 UINT WINAPI
MsiEnumComponentCostsA(MSIHANDLE
, LPCSTR
, DWORD
, INSTALLSTATE
, LPSTR
, LPDWORD
, LPINT
, LPINT
);
437 UINT WINAPI
MsiEnumComponentCostsW(MSIHANDLE
, LPCWSTR
, DWORD
, INSTALLSTATE
, LPWSTR
, LPDWORD
, LPINT
, LPINT
);
438 #define MsiEnumComponentCosts WINELIB_NAME_AW(MsiEnumComponentCosts)
440 UINT WINAPI
MsiEnumProductsA(DWORD
, LPSTR
);
441 UINT WINAPI
MsiEnumProductsW(DWORD
, LPWSTR
);
442 #define MsiEnumProducts WINELIB_NAME_AW(MsiEnumProducts)
444 UINT WINAPI
MsiEnumProductsExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, CHAR
[39], MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
445 UINT WINAPI
MsiEnumProductsExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, WCHAR
[39], MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
446 #define MsiEnumProductsEx WINELIB_NAME_AW(MsiEnumProductsEx)
448 UINT WINAPI
MsiEnumFeaturesA(LPCSTR
, DWORD
, LPSTR
, LPSTR
);
449 UINT WINAPI
MsiEnumFeaturesW(LPCWSTR
, DWORD
, LPWSTR
, LPWSTR
);
450 #define MsiEnumFeatures WINELIB_NAME_AW(MsiEnumFeatures)
452 UINT WINAPI
MsiEnumComponentsA(DWORD
, LPSTR
);
453 UINT WINAPI
MsiEnumComponentsW(DWORD
, LPWSTR
);
454 #define MsiEnumComponents WINELIB_NAME_AW(MsiEnumComponents)
456 UINT WINAPI
MsiEnumComponentsExA(LPCSTR
, DWORD
, DWORD
, CHAR
[39],
457 MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
458 UINT WINAPI
MsiEnumComponentsExW(LPCWSTR
, DWORD
, DWORD
, WCHAR
[39],
459 MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
460 #define MsiEnumComponentsEx WINELIB_NAME_AW(MsiEnumComponentsEx)
462 UINT WINAPI
MsiEnumClientsA(LPCSTR
, DWORD
, LPSTR
);
463 UINT WINAPI
MsiEnumClientsW(LPCWSTR
, DWORD
, LPWSTR
);
464 #define MsiEnumClients WINELIB_NAME_AW(MsiEnumClients)
466 UINT WINAPI
MsiEnumClientsExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, CHAR
*, MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
467 UINT WINAPI
MsiEnumClientsExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, WCHAR
*, MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
468 #define MsiEnumClientsEx WINELIB_NAME_AW(MsiEnumClientsEx)
470 UINT WINAPI
MsiOpenPackageA(LPCSTR
, MSIHANDLE
*);
471 UINT WINAPI
MsiOpenPackageW(LPCWSTR
, MSIHANDLE
*);
472 #define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
474 UINT WINAPI
MsiOpenPackageExA(LPCSTR
, DWORD
, MSIHANDLE
*);
475 UINT WINAPI
MsiOpenPackageExW(LPCWSTR
, DWORD
, MSIHANDLE
*);
476 #define MsiOpenPackageEx WINELIB_NAME_AW(MsiOpenPackageEx)
478 UINT WINAPI
MsiOpenProductA(LPCSTR
, MSIHANDLE
*);
479 UINT WINAPI
MsiOpenProductW(LPCWSTR
, MSIHANDLE
*);
480 #define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
482 UINT WINAPI
MsiGetProductPropertyA(MSIHANDLE
,LPCSTR
,LPSTR
,LPDWORD
);
483 UINT WINAPI
MsiGetProductPropertyW(MSIHANDLE
,LPCWSTR
,LPWSTR
,LPDWORD
);
484 #define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
486 UINT WINAPI
MsiVerifyPackageA(LPCSTR
);
487 UINT WINAPI
MsiVerifyPackageW(LPCWSTR
);
488 #define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
490 UINT WINAPI
MsiQueryComponentStateA(LPCSTR
,LPCSTR
,MSIINSTALLCONTEXT
,LPCSTR
,INSTALLSTATE
*);
491 UINT WINAPI
MsiQueryComponentStateW(LPCWSTR
,LPCWSTR
,MSIINSTALLCONTEXT
,LPCWSTR
,INSTALLSTATE
*);
492 #define MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState)
494 INSTALLSTATE WINAPI
MsiQueryProductStateA(LPCSTR
);
495 INSTALLSTATE WINAPI
MsiQueryProductStateW(LPCWSTR
);
496 #define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
498 UINT WINAPI
MsiConfigureProductA(LPCSTR
, int, INSTALLSTATE
);
499 UINT WINAPI
MsiConfigureProductW(LPCWSTR
, int, INSTALLSTATE
);
500 #define MsiConfigureProduct WINELIB_NAME_AW(MsiConfigureProduct)
502 UINT WINAPI
MsiConfigureProductExA(LPCSTR
, int, INSTALLSTATE
, LPCSTR
);
503 UINT WINAPI
MsiConfigureProductExW(LPCWSTR
, int, INSTALLSTATE
, LPCWSTR
);
504 #define MsiConfigureProductEx WINELIB_NAME_AW(MsiConfigureProductEx)
506 UINT WINAPI
MsiConfigureFeatureA(LPCSTR
, LPCSTR
, INSTALLSTATE
);
507 UINT WINAPI
MsiConfigureFeatureW(LPCWSTR
, LPCWSTR
, INSTALLSTATE
);
508 #define MsiConfigureFeature WINELIB_NAME_AW(MsiConfigureFeature)
510 UINT WINAPI
MsiGetProductCodeA(LPCSTR
, LPSTR
);
511 UINT WINAPI
MsiGetProductCodeW(LPCWSTR
, LPWSTR
);
512 #define MsiGetProductCode WINELIB_NAME_AW(MsiGetProductCode)
514 UINT WINAPI
MsiGetProductInfoA(LPCSTR
, LPCSTR
, LPSTR
, LPDWORD
);
515 UINT WINAPI
MsiGetProductInfoW(LPCWSTR
, LPCWSTR
, LPWSTR
, LPDWORD
);
516 #define MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo)
518 UINT WINAPI
MsiGetProductInfoExA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPCSTR
, LPSTR
, LPDWORD
);
519 UINT WINAPI
MsiGetProductInfoExW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPCWSTR
, LPWSTR
, LPDWORD
);
520 #define MsiGetProductInfoEx WINELIB_NAME_AW(MsiGetProductInfoEx)
522 UINT WINAPI
MsiGetPatchInfoExA(LPCSTR
, LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPCSTR
, LPSTR
, LPDWORD
);
523 UINT WINAPI
MsiGetPatchInfoExW(LPCWSTR
, LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPCWSTR
, LPWSTR
, LPDWORD
);
524 #define MsiGetPatchInfoEx WINELIB_NAME_AW(MsiGetPatchInfoEx)
526 UINT WINAPI
MsiGetPatchInfoA(LPCSTR
, LPCSTR
, LPSTR
, LPDWORD
);
527 UINT WINAPI
MsiGetPatchInfoW(LPCWSTR
, LPCWSTR
, LPWSTR
, LPDWORD
);
528 #define MsiGetPatchInfo WINELIB_NAME_AW(MsiGetPatchInfo)
530 UINT WINAPI
MsiEnableLogA(DWORD
, LPCSTR
, DWORD
);
531 UINT WINAPI
MsiEnableLogW(DWORD
, LPCWSTR
, DWORD
);
532 #define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
534 INSTALLUI_HANDLERA WINAPI
MsiSetExternalUIA(INSTALLUI_HANDLERA
, DWORD
, LPVOID
);
535 INSTALLUI_HANDLERW WINAPI
MsiSetExternalUIW(INSTALLUI_HANDLERW
, DWORD
, LPVOID
);
536 #define MsiSetExternalUI WINELIB_NAME_AW(MsiSetExternalUI)
538 INSTALLSTATE WINAPI
MsiGetComponentPathA(LPCSTR
, LPCSTR
, LPSTR
, LPDWORD
);
539 INSTALLSTATE WINAPI
MsiGetComponentPathW(LPCWSTR
, LPCWSTR
, LPWSTR
, LPDWORD
);
540 #define MsiGetComponentPath WINELIB_NAME_AW(MsiGetComponentPath)
542 INSTALLSTATE WINAPI
MsiGetComponentPathExA(LPCSTR
, LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPSTR
, LPDWORD
);
543 INSTALLSTATE WINAPI
MsiGetComponentPathExW(LPCWSTR
, LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPWSTR
, LPDWORD
);
544 #define MsiGetComponentPathEx WINELIB_NAME_AW(MsiGetComponentPathEx)
546 INSTALLSTATE WINAPI
MsiQueryFeatureStateA(LPCSTR
, LPCSTR
);
547 INSTALLSTATE WINAPI
MsiQueryFeatureStateW(LPCWSTR
, LPCWSTR
);
548 #define MsiQueryFeatureState WINELIB_NAME_AW(MsiQueryFeatureState)
550 UINT WINAPI
MsiQueryFeatureStateExA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, LPCSTR
, INSTALLSTATE
*);
551 UINT WINAPI
MsiQueryFeatureStateExW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, LPCWSTR
, INSTALLSTATE
*);
552 #define MsiQueryFeatureStateEx WINELIB_NAME_AW(MsiQueryFeatureStateEx)
554 UINT WINAPI
MsiGetFeatureInfoA(MSIHANDLE
, LPCSTR
, LPDWORD
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
555 UINT WINAPI
MsiGetFeatureInfoW(MSIHANDLE
, LPCWSTR
, LPDWORD
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
556 #define MsiGetFeatureInfo WINELIB_NAME_AW(MsiGetFeatureInfo)
558 UINT WINAPI
MsiGetFeatureUsageA(LPCSTR
, LPCSTR
, LPDWORD
, LPWORD
);
559 UINT WINAPI
MsiGetFeatureUsageW(LPCWSTR
, LPCWSTR
, LPDWORD
, LPWORD
);
560 #define MsiGetFeatureUsage WINELIB_NAME_AW(MsiGetFeatureUsage)
562 UINT WINAPI
MsiEnumRelatedProductsA(LPCSTR
, DWORD
, DWORD
, LPSTR
);
563 UINT WINAPI
MsiEnumRelatedProductsW(LPCWSTR
, DWORD
, DWORD
, LPWSTR
);
564 #define MsiEnumRelatedProducts WINELIB_NAME_AW(MsiEnumRelatedProducts)
566 UINT WINAPI
MsiProvideAssemblyA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, LPSTR
, LPDWORD
);
567 UINT WINAPI
MsiProvideAssemblyW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, LPWSTR
, LPDWORD
);
568 #define MsiProvideAssembly WINELIB_NAME_AW(MsiProvideAssembly)
570 UINT WINAPI
MsiEnumComponentQualifiersA(LPCSTR
, DWORD
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
571 UINT WINAPI
MsiEnumComponentQualifiersW(LPCWSTR
, DWORD
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
572 #define MsiEnumComponentQualifiers WINELIB_NAME_AW(MsiEnumComponentQualifiers)
574 UINT WINAPI
MsiGetFileVersionA(LPCSTR
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
575 UINT WINAPI
MsiGetFileVersionW(LPCWSTR
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
576 #define MsiGetFileVersion WINELIB_NAME_AW(MsiGetFileVersion)
578 UINT WINAPI
MsiMessageBoxA(HWND
, LPCSTR
, LPCSTR
, UINT
, WORD
, DWORD
);
579 UINT WINAPI
MsiMessageBoxW(HWND
, LPCWSTR
, LPCWSTR
, UINT
, WORD
, DWORD
);
580 #define MsiMessageBox WINELIB_NAME_AW(MsiMessageBox)
582 UINT WINAPI
MsiProvideQualifiedComponentExA(LPCSTR
, LPCSTR
, DWORD
, LPCSTR
, DWORD
, DWORD
, LPSTR
, LPDWORD
);
583 UINT WINAPI
MsiProvideQualifiedComponentExW(LPCWSTR
, LPCWSTR
, DWORD
, LPCWSTR
, DWORD
, DWORD
, LPWSTR
, LPDWORD
);
584 #define MsiProvideQualifiedComponentEx WINELIB_NAME_AW(MsiProvideQualifiedComponentEx)
586 UINT WINAPI
MsiProvideQualifiedComponentA(LPCSTR
, LPCSTR
, DWORD
, LPSTR
, LPDWORD
);
587 UINT WINAPI
MsiProvideQualifiedComponentW(LPCWSTR
, LPCWSTR
, DWORD
, LPWSTR
, LPDWORD
);
588 #define MsiProvideQualifiedComponent WINELIB_NAME_AW(MsiProvideQualifiedComponent)
590 USERINFOSTATE WINAPI
MsiGetUserInfoA(LPCSTR
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
591 USERINFOSTATE WINAPI
MsiGetUserInfoW(LPCWSTR
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
592 #define MsiGetUserInfo WINELIB_NAME_AW(MsiGetUserInfo)
594 UINT WINAPI
MsiProvidedComponentA(LPCSTR
, LPCSTR
, LPCSTR
, DWORD
, LPSTR
, LPDWORD
);
595 UINT WINAPI
MsiProvideComponentW(LPCWSTR
, LPCWSTR
, LPCWSTR
, DWORD
, LPWSTR
, LPDWORD
);
596 #define MsiProvideComponent WINELIB_NAME_AW(MsiProvideComponent)
598 UINT WINAPI
MsiCollectUserInfoA(LPCSTR
);
599 UINT WINAPI
MsiCollectUserInfoW(LPCWSTR
);
600 #define MsiCollectUserInfo WINELIB_NAME_AW(MsiCollectUserInfo)
602 UINT WINAPI
MsiReinstallFeatureA(LPCSTR
, LPCSTR
, DWORD
);
603 UINT WINAPI
MsiReinstallFeatureW(LPCWSTR
, LPCWSTR
, DWORD
);
604 #define MsiReinstallFeature WINELIB_NAME_AW(MsiReinstallFeature)
606 UINT WINAPI
MsiGetShortcutTargetA(LPCSTR
, LPSTR
, LPSTR
, LPSTR
);
607 UINT WINAPI
MsiGetShortcutTargetW(LPCWSTR
, LPWSTR
, LPWSTR
, LPWSTR
);
608 #define MsiGetShortcutTarget WINELIB_NAME_AW(MsiGetShortcutTarget)
610 INSTALLSTATE WINAPI
MsiUseFeatureW(LPCWSTR
, LPCWSTR
);
611 INSTALLSTATE WINAPI
MsiUseFeatureA(LPCSTR
, LPCSTR
);
612 #define MsiUseFeature WINELIB_NAME_AW(MsiUseFeature)
614 INSTALLSTATE WINAPI
MsiUseFeatureExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
);
615 INSTALLSTATE WINAPI
MsiUseFeatureExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
);
616 #define MsiUseFeatureEx WINELIB_NAME_AW(MsiUseFeatureEx)
618 HRESULT WINAPI
MsiGetFileSignatureInformationA(LPCSTR
, DWORD
, PCCERT_CONTEXT
*, LPBYTE
, LPDWORD
);
619 HRESULT WINAPI
MsiGetFileSignatureInformationW(LPCWSTR
, DWORD
, PCCERT_CONTEXT
*, LPBYTE
, LPDWORD
);
620 #define MsiGetFileSignatureInformation WINELIB_NAME_AW(MsiGetFileSignatureInformation)
622 INSTALLSTATE WINAPI
MsiLocateComponentA(LPCSTR
, LPSTR
, LPDWORD
);
623 INSTALLSTATE WINAPI
MsiLocateComponentW(LPCWSTR
, LPWSTR
, LPDWORD
);
624 #define MsiLocateComponent WINELIB_NAME_AW(MsiLocateComponent)
626 UINT WINAPI
MsiSourceListAddSourceA(LPCSTR
, LPCSTR
, DWORD
, LPCSTR
);
627 UINT WINAPI
MsiSourceListAddSourceW(LPCWSTR
, LPCWSTR
, DWORD
, LPCWSTR
);
628 #define MsiSourceListAddSource WINELIB_NAME_AW(MsiSourceListAddSource)
630 UINT WINAPI
MsiSourceListEnumMediaDisksA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPDWORD
,
631 LPSTR
, LPDWORD
, LPSTR
, LPDWORD
);
632 UINT WINAPI
MsiSourceListEnumMediaDisksW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPDWORD
,
633 LPWSTR
, LPDWORD
, LPWSTR
, LPDWORD
);
634 #define MsiSourceListEnumMediaDisks WINELIB_NAME_AW(MsiSourceListEnumMediaDisks)
636 UINT WINAPI
MsiSourceListEnumSourcesA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPSTR
, LPDWORD
);
637 UINT WINAPI
MsiSourceListEnumSourcesW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPWSTR
, LPDWORD
);
638 #define MsiSourceListEnumSources WINELIB_NAME_AW(MsiSourceListEnumSources)
640 UINT WINAPI
MsiSourceListClearSourceA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
);
641 UINT WINAPI
MsiSourceListClearSourceW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
);
642 #define MsiSourceListClearSource WINELIB_NAME_AW(MsiSourceListClearSource)
644 UINT WINAPI
MsiSourceListClearAllA(LPCSTR
, LPCSTR
, DWORD
);
645 UINT WINAPI
MsiSourceListClearAllW(LPCWSTR
, LPCWSTR
, DWORD
);
646 #define MsiSourceListClearAll WINELIB_NAME_AW(MsiSourceListClearAll)
648 UINT WINAPI
MsiSourceListGetInfoA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
, LPSTR
, LPDWORD
);
649 UINT WINAPI
MsiSourceListGetInfoW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
, LPWSTR
, LPDWORD
);
650 #define MsiSourceListGetInfo WINELIB_NAME_AW(MsiSourceListGetInfo)
652 UINT WINAPI
MsiSourceListSetInfoA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
, LPCSTR
);
653 UINT WINAPI
MsiSourceListSetInfoW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
, LPCWSTR
);
654 #define MsiSourceListSetInfo WINELIB_NAME_AW(MsiSourceListSetInfo)
656 UINT WINAPI
MsiSourceListAddSourceExA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCSTR
, DWORD
);
657 UINT WINAPI
MsiSourceListAddSourceExW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, LPCWSTR
, DWORD
);
658 #define MsiSourceListAddSourceEx WINELIB_NAME_AW(MsiSourceListAddSourceEx)
660 UINT WINAPI
MsiSourceListAddMediaDiskA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPCSTR
, LPCSTR
);
661 UINT WINAPI
MsiSourceListAddMediaDiskW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, DWORD
, LPCWSTR
, LPCWSTR
);
662 #define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk)
664 UINT WINAPI
MsiEnumPatchesA(LPCSTR
, DWORD
, LPSTR
, LPSTR
, LPDWORD
);
665 UINT WINAPI
MsiEnumPatchesW(LPCWSTR
, DWORD
, LPWSTR
, LPWSTR
, LPDWORD
);
666 #define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches)
668 UINT WINAPI
MsiEnumPatchesExA(LPCSTR
, LPCSTR
, DWORD
, DWORD
, DWORD
, LPSTR
, LPSTR
,
669 MSIINSTALLCONTEXT
*, LPSTR
, LPDWORD
);
670 UINT WINAPI
MsiEnumPatchesExW(LPCWSTR
, LPCWSTR
, DWORD
, DWORD
, DWORD
, LPWSTR
, LPWSTR
,
671 MSIINSTALLCONTEXT
*, LPWSTR
, LPDWORD
);
672 #define MsiEnumPatchesEx WINELIB_NAME_AW(MsiEnumPatchesEx)
674 UINT WINAPI
MsiGetFileHashA(LPCSTR
, DWORD
, PMSIFILEHASHINFO
);
675 UINT WINAPI
MsiGetFileHashW(LPCWSTR
, DWORD
, PMSIFILEHASHINFO
);
676 #define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash)
678 UINT WINAPI
MsiAdvertiseScriptA(LPCSTR
, DWORD
, PHKEY
, BOOL
);
679 UINT WINAPI
MsiAdvertiseScriptW(LPCWSTR
, DWORD
, PHKEY
, BOOL
);
680 #define MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript)
682 UINT WINAPI
MsiIsProductElevatedA(LPCSTR
, BOOL
*);
683 UINT WINAPI
MsiIsProductElevatedW(LPCWSTR
, BOOL
*);
684 #define MsiIsProductElevated WINELIB_NAME_AW(MsiIsProductElevated)
686 UINT WINAPI
MsiDatabaseMergeA(MSIHANDLE
, MSIHANDLE
, LPCSTR
);
687 UINT WINAPI
MsiDatabaseMergeW(MSIHANDLE
, MSIHANDLE
, LPCWSTR
);
688 #define MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge)
690 UINT WINAPI
MsiInstallMissingComponentA(LPCSTR
, LPCSTR
, INSTALLSTATE
);
691 UINT WINAPI
MsiInstallMissingComponentW(LPCWSTR
, LPCWSTR
, INSTALLSTATE
);
692 #define MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent)
694 UINT WINAPI
MsiDetermineApplicablePatchesA(LPCSTR
, DWORD
, PMSIPATCHSEQUENCEINFOA
);
695 UINT WINAPI
MsiDetermineApplicablePatchesW(LPCWSTR
, DWORD
, PMSIPATCHSEQUENCEINFOW
);
696 #define MsiDetermineApplicablePatches WINELIB_NAME_AW(MsiDetermineApplicablePatches)
698 UINT WINAPI
MsiDeterminePatchSequenceA(LPCSTR
, LPCSTR
, MSIINSTALLCONTEXT
, DWORD
, PMSIPATCHSEQUENCEINFOA
);
699 UINT WINAPI
MsiDeterminePatchSequenceW(LPCWSTR
, LPCWSTR
, MSIINSTALLCONTEXT
, DWORD
, PMSIPATCHSEQUENCEINFOW
);
700 #define MsiDeterminePatchSequence WINELIB_NAME_AW(MsiDeterminePatchSequence)
702 UINT WINAPI
MsiApplyMultiplePatchesA(LPCSTR
, LPCSTR
, LPCSTR
);
703 UINT WINAPI
MsiApplyMultiplePatchesW(LPCWSTR
, LPCWSTR
, LPCWSTR
);
704 #define MsiApplyMultiplePatches WINELIB_NAME_AW(MsiApplyMultiplePatches)
706 UINT WINAPI
MsiBeginTransactionA(LPCSTR
, DWORD
, MSIHANDLE
*, HANDLE
*);
707 UINT WINAPI
MsiBeginTransactionW(LPCWSTR
, DWORD
, MSIHANDLE
*, HANDLE
*);
708 #define MsiBeginTransaction WINELIB_NAME_AW(MsiBeginTransaction)
710 UINT WINAPI
MsiJoinTransaction(MSIHANDLE
, DWORD
, HANDLE
*);
711 UINT WINAPI
MsiEndTransaction(DWORD
);
714 UINT WINAPI
MsiCloseHandle(MSIHANDLE
);
715 UINT WINAPI
MsiCloseAllHandles(void);
716 INSTALLUILEVEL WINAPI
MsiSetInternalUI(INSTALLUILEVEL
, HWND
*);
717 UINT WINAPI
MsiSetExternalUIRecord(INSTALLUI_HANDLER_RECORD
, DWORD
, LPVOID
, PINSTALLUI_HANDLER_RECORD
);
723 #endif /* __WINE_MSI_H */