Moved most initializations out of the create_desktop function and into
[wine/multimedia.git] / include / msi.h
blobdc4aa91a353699e88b625f513c0b463b32360e27
1 /*
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_MSI_H
20 #define __WINE_MSI_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 #ifndef _MSI_NO_CRYPTO
27 #include "wincrypt.h"
28 #endif
30 typedef unsigned long MSIHANDLE;
32 typedef enum tagINSTALLSTATE
34 INSTALLSTATE_BADCONFIG = -6,
35 INSTALLSTATE_INCOMPLETE = -5,
36 INSTALLSTATE_SOURCEABSENT = -4,
37 INSTALLSTATE_MOREDATA = -3,
38 INSTALLSTATE_INVALIDARG = -2,
39 INSTALLSTATE_UNKNOWN = -1,
40 INSTALLSTATE_BROKEN = 0,
41 INSTALLSTATE_ADVERTISED = 1,
42 INSTALLSTATE_ABSENT = 2,
43 INSTALLSTATE_LOCAL = 3,
44 INSTALLSTATE_SOURCE = 4,
45 INSTALLSTATE_DEFAULT = 5
46 } INSTALLSTATE;
48 typedef enum tagINSTALLUILEVEL
50 INSTALLUILEVEL_NOCHANGE = 0,
51 INSTALLUILEVEL_DEFAULT = 1,
52 INSTALLUILEVEL_NONE = 2,
53 INSTALLUILEVEL_BASIC = 3,
54 INSTALLUILEVEL_REDUCED = 4,
55 INSTALLUILEVEL_FULL = 5,
56 INSTALLUILEVEL_HIDECANCEL = 0x20,
57 INSTALLUILEVEL_PROGRESSONLY = 0x40,
58 INSTALLUILEVEL_ENDDIALOG = 0x80,
59 INSTALLUILEVEL_SOURCERESONLY = 0x100
60 } INSTALLUILEVEL;
62 typedef enum tagUSERINFOSTATE
64 USERINFOSTATE_MOREDATA = -3,
65 USERINFOSTATE_INVALIDARG = -2,
66 USERINFOSTATE_UNKNOWN = -1,
67 USERINFOSTATE_ABSENT = 0,
68 USERINFOSTATE_PRESENT = 1,
69 } USERINFOSTATE;
71 typedef enum tagINSTALLLEVEL
73 INSTALLLEVEL_DEFAULT = 0,
74 INSTALLLEVEL_MINIMUM = 1,
75 INSTALLLEVEL_MAXIMUM = 0xFFFF
76 } INSTALLLEVEL;
78 typedef enum tagINSTALLMESSAGE
80 INSTALLMESSAGE_FATALEXIT = 0,
81 INSTALLMESSAGE_ERROR = 0x01000000,
82 INSTALLMESSAGE_WARNING = 0x02000000,
83 INSTALLMESSAGE_USER = 0x03000000,
84 INSTALLMESSAGE_INFO = 0x04000000,
85 INSTALLMESSAGE_FILESINUSE = 0x05000000,
86 INSTALLMESSAGE_RESOLVESOURCE = 0x06000000,
87 INSTALLMESSAGE_OUTOFDISKSPACE = 0x07000000,
88 INSTALLMESSAGE_ACTIONSTART = 0x08000000,
89 INSTALLMESSAGE_ACTIONDATA = 0x09000000,
90 INSTALLMESSAGE_PROGRESS = 0x0a000000,
91 INSTALLMESSAGE_COMMONDATA = 0x0b000000,
92 INSTALLMESSAGE_INITIALIZE = 0x0c000000,
93 INSTALLMESSAGE_TERMINATE = 0x0d000000,
94 INSTALLMESSAGE_SHOWDIALOG = 0x0e000000
95 } INSTALLMESSAGE;
97 typedef enum tagREINSTALLMODE
99 REINSTALLMODE_REPAIR = 0x00000001,
100 REINSTALLMODE_FILEMISSING = 0x00000002,
101 REINSTALLMODE_FILEOLDERVERSION = 0x00000004,
102 REINSTALLMODE_FILEEQUALVERSION = 0x00000008,
103 REINSTALLMODE_FILEEXACT = 0x00000010,
104 REINSTALLMODE_FILEVERIFY = 0x00000020,
105 REINSTALLMODE_FILEREPLACE = 0x00000040,
106 REINSTALLMODE_MACHINEDATA = 0x00000080,
107 REINSTALLMODE_USERDATA = 0x00000100,
108 REINSTALLMODE_SHORTCUT = 0x00000200,
109 REINSTALLMODE_PACKAGE = 0x00000400
110 } REINSTALLMODE;
112 typedef enum tagINSTALLLOGMODE
114 INSTALLLOGMODE_FATALEXIT = (1 << (INSTALLMESSAGE_FATALEXIT >> 24)),
115 INSTALLLOGMODE_ERROR = (1 << (INSTALLMESSAGE_ERROR >> 24)),
116 INSTALLLOGMODE_WARNING = (1 << (INSTALLMESSAGE_WARNING >> 24)),
117 INSTALLLOGMODE_USER = (1 << (INSTALLMESSAGE_USER >> 24)),
118 INSTALLLOGMODE_INFO = (1 << (INSTALLMESSAGE_INFO >> 24)),
119 INSTALLLOGMODE_RESOLVESOURCE = (1 << (INSTALLMESSAGE_RESOLVESOURCE >> 24)),
120 INSTALLLOGMODE_OUTOFDISKSPACE = (1 << (INSTALLMESSAGE_OUTOFDISKSPACE >> 24)),
121 INSTALLLOGMODE_ACTIONSTART = (1 << (INSTALLMESSAGE_ACTIONSTART >> 24)),
122 INSTALLLOGMODE_ACTIONDATA = (1 << (INSTALLMESSAGE_ACTIONDATA >> 24)),
123 INSTALLLOGMODE_COMMONDATA = (1 << (INSTALLMESSAGE_COMMONDATA >> 24)),
124 INSTALLLOGMODE_PROPERTYDUMP = (1 << (INSTALLMESSAGE_PROGRESS >> 24)),
125 INSTALLLOGMODE_VERBOSE = (1 << (INSTALLMESSAGE_INITIALIZE >> 24)),
126 INSTALLLOGMODE_EXTRADEBUG = (1 << (INSTALLMESSAGE_TERMINATE >> 24)),
127 INSTALLLOGMODE_PROGRESS = (1 << (INSTALLMESSAGE_PROGRESS >> 24)),
128 INSTALLLOGMODE_INITIALIZE = (1 << (INSTALLMESSAGE_INITIALIZE >> 24)),
129 INSTALLLOGMODE_TERMINATE = (1 << (INSTALLMESSAGE_TERMINATE >> 24)),
130 INSTALLLOGMODE_SHOWDIALOG = (1 << (INSTALLMESSAGE_SHOWDIALOG >> 24))
131 } INSTALLLOGMODE;
133 typedef enum tagINSTALLLOGATTRIBUTES
135 INSTALLLOGATTRIBUTES_APPEND = 0x00000001,
136 INSTALLLOGATTRIBUTES_FLUSHEACHLINE = 0x00000002
137 } INSTALLLOGATTRIBUTES;
139 typedef enum tagADVERTISEFLAGS
141 ADVERTISEFLAGS_MACHINEASSIGN = 0,
142 ADVERTISEFLAGS_USERASSIGN = 1
143 } ADVERTISEFLAGS;
145 typedef enum tagINSTALLTYPE
147 INSTALLTYPE_DEFAULT = 0,
148 INSTALLTYPE_NETWORK_IMAGE = 1
149 } INSTALLTYPE;
151 typedef enum tagMSIINSTALLCONTEXT
153 MSIINSTALLCONTEXT_FIRSTVISIBLE = 0,
154 MSIINSTALLCONTEXT_NONE = 0,
155 MSIINSTALLCONTEXT_USERMANAGED = 1,
156 MSIINSTALLCONTEXT_USERUNMANAGED = 2,
157 MSIINSTALLCONTEXT_MACHINE = 4,
158 MSIINSTALLCONTEXT_ALL = (MSIINSTALLCONTEXT_USERMANAGED | MSIINSTALLCONTEXT_USERUNMANAGED | MSIINSTALLCONTEXT_MACHINE),
159 MSIINSTALLCONTEXT_ALLUSERMANAGED= 8,
160 } MSIINSTALLCONTEXT;
162 typedef enum tagMSISOURCETYPE
164 MSISOURCETYPE_UNKNOWN = 0x00000000L,
165 MSISOURCETYPE_NETWORK = 0x00000001L,
166 MSISOURCETYPE_URL = 0x00000002L,
167 MSISOURCETYPE_MEDIA = 0x00000004
168 } MSISOURCETYPE;
170 typedef enum tagMSICODE
172 MSICODE_PRODUCT = 0x00000000L,
173 MSICODE_PATCH = 0x40000000L
174 } MSICODE;
176 #define MAX_FEATURE_CHARS 38
178 typedef INT (CALLBACK *INSTALLUI_HANDLERA)(LPVOID, UINT, LPCSTR);
179 typedef INT (CALLBACK *INSTALLUI_HANDLERW)(LPVOID, UINT, LPCWSTR);
181 UINT WINAPI MsiAdvertiseProductA(LPCSTR, LPCSTR, LPCSTR, LANGID);
182 UINT WINAPI MsiAdvertiseProductW(LPCWSTR, LPCWSTR, LPCWSTR, LANGID);
183 #define MsiAdvertiseProduct WINELIB_NAME_AW(MsiAdvertiseProduct)
185 UINT WINAPI MsiAdvertiseProductExA(LPCSTR, LPCSTR, LPCSTR, LANGID, DWORD, DWORD);
186 UINT WINAPI MsiAdvertiseProductExW(LPCWSTR, LPCWSTR, LPCWSTR, LANGID, DWORD, DWORD);
187 #define MsiAdvertiseProductEx WINELIB_NAME_AW(MsiAdvertiseProductEx)
189 UINT WINAPI MsiInstallProductA(LPCSTR, LPCSTR);
190 UINT WINAPI MsiInstallProductW(LPCWSTR, LPCWSTR);
191 #define MsiInstallProduct WINELIB_NAME_AW(MsiInstallProduct)
193 UINT WINAPI MsiReinstallProductA(LPCSTR, DWORD);
194 UINT WINAPI MsiReinstallProductW(LPCWSTR, DWORD);
195 #define MsiReinstallProduct WINELIB_NAME_AW(MsiReinstallProduct)
197 UINT WINAPI MsiApplyPatchA(LPCSTR, LPCSTR, INSTALLTYPE, LPCSTR);
198 UINT WINAPI MsiApplyPatchW(LPCWSTR, LPCWSTR, INSTALLTYPE, LPCWSTR);
199 #define MsiApplyPatch WINELIB_NAME_AW(MsiApplyPatch)
201 UINT WINAPI MsiEnumProductsA(DWORD, LPSTR);
202 UINT WINAPI MsiEnumProductsW(DWORD, LPWSTR);
203 #define MsiEnumProducts WINELIB_NAME_AW(MsiEnumProducts)
205 UINT WINAPI MsiEnumFeaturesA(LPCSTR, DWORD, LPSTR, LPSTR);
206 UINT WINAPI MsiEnumFeaturesW(LPCWSTR, DWORD, LPWSTR, LPWSTR);
207 #define MsiEnumFeatures WINELIB_NAME_AW(MsiEnumFeatures)
209 UINT WINAPI MsiEnumComponentsA(DWORD, LPSTR);
210 UINT WINAPI MsiEnumComponentsW(DWORD, LPWSTR);
211 #define MsiEnumComponents WINELIB_NAME_AW(MsiEnumComponents)
213 UINT WINAPI MsiEnumClientsA(LPCSTR, DWORD, LPSTR);
214 UINT WINAPI MsiEnumClientsW(LPCWSTR, DWORD, LPWSTR);
215 #define MsiEnumClients WINELIB_NAME_AW(MsiEnumClients)
217 UINT WINAPI MsiOpenDatabaseA(LPCSTR, LPCSTR, MSIHANDLE *);
218 UINT WINAPI MsiOpenDatabaseW(LPCWSTR, LPCWSTR, MSIHANDLE *);
219 #define MsiOpenDatabase WINELIB_NAME_AW(MsiOpenDatabase)
221 UINT WINAPI MsiOpenPackageA(LPCSTR, MSIHANDLE*);
222 UINT WINAPI MsiOpenPackageW(LPCWSTR, MSIHANDLE*);
223 #define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
225 UINT WINAPI MsiOpenPackageExA(LPCSTR, DWORD, MSIHANDLE*);
226 UINT WINAPI MsiOpenPackageExW(LPCWSTR, DWORD, MSIHANDLE*);
227 #define MsiOpenPackageEx WINELIB_NAME_AW(MsiOpenPackageEx)
229 UINT WINAPI MsiOpenProductA(LPCSTR, MSIHANDLE*);
230 UINT WINAPI MsiOpenProductW(LPCWSTR, MSIHANDLE*);
231 #define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
233 UINT WINAPI MsiProvideComponentFromDescriptorA(LPCSTR,LPSTR,DWORD*,DWORD*);
234 UINT WINAPI MsiProvideComponentFromDescriptorW(LPCWSTR,LPWSTR,DWORD*,DWORD*);
235 #define MsiProvideComponentFromDescriptor WINELIB_NAME_AW(MsiProvideComponentFromDescriptor)
237 UINT WINAPI MsiGetProductPropertyA(MSIHANDLE,LPCSTR,LPSTR,DWORD*);
238 UINT WINAPI MsiGetProductPropertyW(MSIHANDLE,LPCWSTR,LPWSTR,DWORD*);
239 #define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
241 UINT WINAPI MsiGetPropertyA(MSIHANDLE, LPCSTR, LPSTR, DWORD*);
242 UINT WINAPI MsiGetPropertyW(MSIHANDLE, LPCWSTR, LPWSTR, DWORD*);
243 #define MsiGetProperty WINELIB_NAME_AW(MsiGetProperty)
245 UINT WINAPI MsiVerifyPackageA(LPCSTR);
246 UINT WINAPI MsiVerifyPackageW(LPCWSTR);
247 #define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
249 INSTALLSTATE WINAPI MsiQueryProductStateA(LPCSTR);
250 INSTALLSTATE WINAPI MsiQueryProductStateW(LPCWSTR);
251 #define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
253 UINT WINAPI MsiConfigureProductA(LPCSTR, int, INSTALLSTATE);
254 UINT WINAPI MsiConfigureProductW(LPCWSTR, int, INSTALLSTATE);
255 #define MsiConfigureProduct WINELIB_NAME_AW(MsiConfigureProduct);
257 UINT WINAPI MsiConfigureProductExA(LPCSTR, int, INSTALLSTATE, LPCSTR);
258 UINT WINAPI MsiConfigureProductExW(LPCWSTR, int, INSTALLSTATE, LPCWSTR);
259 #define MsiConfigureProductEx WINELIB_NAME_AW(MsiConfigureProductEx);
261 UINT WINAPI MsiGetProductCodeA(LPCSTR, LPSTR);
262 UINT WINAPI MsiGetProductCodeW(LPCWSTR, LPWSTR);
263 #define MsiGetProductCode WINELIB_NAME_AW(MsiGetProductCode)
265 UINT WINAPI MsiGetProductInfoA(LPCSTR, LPCSTR, LPSTR, DWORD *);
266 UINT WINAPI MsiGetProductInfoW(LPCWSTR, LPCWSTR, LPWSTR, DWORD *);
267 #define MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo)
269 UINT WINAPI MsiEnableLogA(DWORD, LPCSTR, DWORD);
270 UINT WINAPI MsiEnableLogW(DWORD, LPCWSTR, DWORD);
271 #define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
273 INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA(INSTALLUI_HANDLERA, DWORD, LPVOID);
274 INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(INSTALLUI_HANDLERW, DWORD, LPVOID);
275 #define MsiSetExternalUI WINELIB_NAME_AW(MsiSetExternalUI)
277 INSTALLSTATE WINAPI MsiGetComponentPathA(LPCSTR, LPCSTR, LPSTR, DWORD*);
278 INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR, LPCWSTR, LPWSTR, DWORD*);
279 #define MsiGetComponentPath WINELIB_NAME_AW(MsiGetComponentPath)
281 INSTALLSTATE WINAPI MsiQueryFeatureStateA(LPCSTR, LPCSTR);
282 INSTALLSTATE WINAPI MsiQueryFeatureStateW(LPCWSTR, LPCWSTR);
283 #define MsiQueryFeatureState WINELIB_NAME_AW(MsiQueryFeatureState)
285 UINT WINAPI MsiGetFeatureUsageA(LPCSTR, LPCSTR, DWORD*, WORD*);
286 UINT WINAPI MsiGetFeatureUsageW(LPCWSTR, LPCWSTR, DWORD*, WORD*);
287 #define MsiGetFeatureUsage WINELIB_NAME_AW(MsiGetFeatureUsage)
289 UINT WINAPI MsiEnumRelatedProductsA(LPCSTR, DWORD, DWORD, LPSTR);
290 UINT WINAPI MsiEnumRelatedProductsW(LPCWSTR, DWORD, DWORD, LPWSTR);
291 #define MsiEnumRelatedProducts WINELIB_NAME_AW(MsiEnumRelatedProducts)
293 UINT WINAPI MsiProvideAssemblyA(LPCSTR, LPCSTR, DWORD, DWORD, LPSTR, DWORD*);
294 UINT WINAPI MsiProvideAssemblyW(LPCWSTR, LPCWSTR, DWORD, DWORD, LPWSTR, DWORD*);
295 #define MsiProvideAssembly WINELIB_NAME_AW(MsiProvideAssembly)
297 UINT WINAPI MsiEnumComponentQualifiersA(LPSTR, DWORD, LPSTR, DWORD*, LPSTR, DWORD*);
298 UINT WINAPI MsiEnumComponentQualifiersW(LPWSTR, DWORD, LPWSTR, DWORD*, LPWSTR, DWORD*);
299 #define MsiEnumComponentQualifiers WINELIB_NAME_AW(MsiEnumComponentQualifiers)
301 UINT WINAPI MsiGetFileVersionA(LPCSTR, LPSTR, DWORD*, LPSTR, DWORD*);
302 UINT WINAPI MsiGetFileVersionW(LPCWSTR, LPWSTR, DWORD*, LPWSTR, DWORD*);
303 #define MsiGetFileVersion WINELIB_NAME_AW(MsiGetFileVersion)
305 UINT WINAPI MsiMessageBoxA(HWND, LPCSTR, LPCSTR, UINT, WORD, DWORD);
306 UINT WINAPI MsiMessageBoxW(HWND, LPCWSTR, LPCWSTR, UINT, WORD, DWORD);
307 #define MsiMessageBox WINELIB_NAME_AW(MsiMessageBox)
309 UINT WINAPI MsiProvideQualifiedComponentExA(LPCSTR, LPCSTR, DWORD, LPSTR, DWORD, DWORD, LPSTR, DWORD*);
310 UINT WINAPI MsiProvideQualifiedComponentExW(LPCWSTR, LPCWSTR, DWORD, LPWSTR, DWORD, DWORD, LPWSTR, DWORD*);
311 #define MsiProvideQualifiedComponentEx WINELIB_NAME_AW(MsiProvideQualifiedComponentEx)
313 UINT WINAPI MsiProvideQualifiedComponentA(LPCSTR, LPCSTR, DWORD, LPSTR, DWORD*);
314 UINT WINAPI MsiProvideQualifiedComponentW(LPCWSTR, LPCWSTR, DWORD, LPWSTR, DWORD*);
315 #define MsiProvideQualifiedComponent WINELIB_NAME_AW(MsiProvideQualifiedComponent)
317 USERINFOSTATE WINAPI MsiGetUserInfoA(LPCSTR, LPSTR, DWORD*, LPSTR, DWORD*, LPSTR, DWORD*);
318 USERINFOSTATE WINAPI MsiGetUserInfoW(LPCWSTR, LPWSTR, DWORD*, LPWSTR, DWORD*, LPWSTR, DWORD*);
319 #define MsiGetUserInfo WINELIB_NAME_AW(MsiGetUserInfo)
321 UINT WINAPI MsiCollectUserInfoA(LPCSTR);
322 UINT WINAPI MsiCollectUserInfoW(LPCWSTR);
323 #define MsiCollectUserInfo WINELIB_NAME_AW(MsiCollectUserInfo)
325 UINT WINAPI MsiReinstallFeatureA(LPCSTR, LPCSTR, DWORD);
326 UINT WINAPI MsiReinstallFeatureW(LPCWSTR, LPCWSTR, DWORD);
327 #define MsiReinstallFeature WINELIB_NAME_AW(MsiReinstallFeature)
329 UINT WINAPI MsiGetShortcutTargetA(LPCSTR, LPSTR, LPSTR, LPSTR);
330 UINT WINAPI MsiGetShortcutTargetW(LPCWSTR, LPWSTR, LPWSTR, LPWSTR);
331 #define MsiGetShortcutTarget WINELIB_NAME_AW(MsiGetShortcutTarget)
333 INSTALLSTATE WINAPI MsiUseFeatureW(LPCWSTR, LPCWSTR);
334 INSTALLSTATE WINAPI MsiUseFeatureA(LPCSTR, LPCSTR);
335 #define MsiUseFeature WINELIB_NAME_AW(MsiUseFeature)
337 INSTALLSTATE WINAPI MsiUseFeatureExW(LPCWSTR, LPCWSTR, DWORD, DWORD);
338 INSTALLSTATE WINAPI MsiUseFeatureExA(LPCSTR, LPCSTR, DWORD, DWORD);
339 #define MsiUseFeatureEx WINELIB_NAME_AW(MsiUseFeatureEx)
341 HRESULT WINAPI MsiGetFileSignatureInformationA(LPCSTR, DWORD, PCCERT_CONTEXT*, BYTE*, DWORD*);
342 HRESULT WINAPI MsiGetFileSignatureInformationW(LPCWSTR, DWORD, PCCERT_CONTEXT*, BYTE*, DWORD*);
343 #define MsiGetFileSignatureInformation WINELIB_NAME_AW(MsiGetFileSignatureInformation)
345 INSTALLSTATE WINAPI MsiLocateComponentA(LPCSTR, LPSTR, DWORD *);
346 INSTALLSTATE WINAPI MsiLocateComponentW(LPCWSTR, LPWSTR, DWORD *);
347 #define MsiLocateComponent WINELIB_NAME_AW(MsiLocateComponent)
349 /* Non Unicode */
350 UINT WINAPI MsiCloseHandle(MSIHANDLE);
351 UINT WINAPI MsiCloseAllHandles(void);
352 INSTALLUILEVEL WINAPI MsiSetInternalUI(INSTALLUILEVEL, HWND*);
354 UINT WINAPI MsiSourceListGetInfoA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR, LPSTR, LPDWORD);
355 UINT WINAPI MsiSourceListGetInfoW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR, LPWSTR, LPDWORD);
356 #define MsiSourceListGetInfo WINELIB_NAME_AW(MsiSourceListGetInfo)
357 UINT WINAPI MsiSourceListSetInfoA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR, LPCSTR);
358 UINT WINAPI MsiSourceListSetInfoW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR, LPCWSTR);
359 #define MsiSourceListSetInfo WINELIB_NAME_AW(MsiSourceListSetInfo)
360 UINT WINAPI MsiSourceListAddSourceExA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR, DWORD);
361 UINT WINAPI MsiSourceListAddSourceExW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR, DWORD);
362 #define MsiSourceListAddSourceEx WINELIB_NAME_AW(MsiSourceListAddSourceEx)
363 UINT WINAPI MsiSourceListAddMediaDiskA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPCSTR, LPCSTR);
364 UINT WINAPI MsiSourceListAddMediaDiskW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPCWSTR, LPCWSTR);
365 #define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk)
367 #ifdef __cplusplus
369 #endif
371 #endif /* __WINE_MSI_H */