ReactOS  0.4.14-dev-606-g14ebc0b
msi.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002,2003 Mike McCormack
3  *
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.
8  *
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.
13  *
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
17  */
18 
19 #ifndef __WINE_MSI_H
20 #define __WINE_MSI_H
21 
22 #ifndef _MSI_NO_CRYPTO
23 #include <wincrypt.h>
24 #endif
25 
26 #define MAX_GUID_CHARS 38
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 typedef ULONG MSIHANDLE;
33 
34 typedef enum tagINSTALLSTATE
35 {
49 } INSTALLSTATE;
50 
51 typedef enum tagMSIPATCHSTATE
52 {
61 
62 typedef enum tagINSTALLUILEVEL
63 {
75 
76 typedef enum tagUSERINFOSTATE
77 {
84 
85 typedef enum tagINSTALLLEVEL
86 {
90 } INSTALLLEVEL;
91 
92 typedef enum tagINSTALLMESSAGE
93 {
95  INSTALLMESSAGE_ERROR = 0x01000000,
96  INSTALLMESSAGE_WARNING = 0x02000000,
97  INSTALLMESSAGE_USER = 0x03000000,
98  INSTALLMESSAGE_INFO = 0x04000000,
113 
114 typedef enum tagREINSTALLMODE
115 {
116  REINSTALLMODE_REPAIR = 0x00000001,
127 } REINSTALLMODE;
128 
129 typedef enum tagINSTALLLOGMODE
130 {
153 
155 {
159 
160 typedef enum tagINSTALLMODE
161 {
167 } INSTALLMODE;
168 
169 typedef enum tagADVERTISEFLAGS
170 {
174 
175 typedef enum tagSCRIPTFLAGS
176 {
185 } SCRIPTFLAGS;
186 
187 typedef enum tagINSTALLTYPE
188 {
192 } INSTALLTYPE;
193 
195 {
204 
205 typedef enum tagMSISOURCETYPE
206 {
209  MSISOURCETYPE_URL = 0x00000002L,
210  MSISOURCETYPE_MEDIA = 0x00000004L
211 } MSISOURCETYPE;
212 
213 typedef enum tagMSICODE
214 {
215  MSICODE_PRODUCT = 0x00000000L,
216  MSICODE_PATCH = 0x40000000L
217 } MSICODE;
218 
220 {
228 
229 typedef struct _MSIFILEHASHINFO {
233 
235 {
240 
242 {
248 
250 {
256 
257 #define MAX_FEATURE_CHARS 38
258 
259 #define ERROR_PATCH_TARGET_NOT_FOUND 1642
260 
261 /* Strings defined in msi.h */
262 /* Advertised Information */
263 
264 #define INSTALLPROPERTY_PACKAGENAMEA "PackageName"
265 static const WCHAR INSTALLPROPERTY_PACKAGENAMEW[] = {'P','a','c','k','a','g','e','N','a','m','e',0};
266 #define INSTALLPROPERTY_PACKAGENAME WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGENAME)
267 
268 #define INSTALLPROPERTY_TRANSFORMSA "Transforms"
269 static const WCHAR INSTALLPROPERTY_TRANSFORMSW[] = {'T','r','a','n','s','f','o','r','m','s',0};
270 #define INSTALLPROPERTY_TRANSFORMS WINELIB_NAME_AW(INSTALLPROPERTY_TRANSFORMS)
271 
272 #define INSTALLPROPERTY_LANGUAGEA "Language"
273 static const WCHAR INSTALLPROPERTY_LANGUAGEW[] = {'L','a','n','g','u','a','g','e',0};
274 #define INSTALLPROPERTY_LANGUAGE WINELIB_NAME_AW(INSTALLPROPERTY_LANGUAGE)
275 
276 #define INSTALLPROPERTY_PRODUCTNAMEA "ProductName"
277 static const WCHAR INSTALLPROPERTY_PRODUCTNAMEW[] = {'P','r','o','d','u','c','t','N','a','m','e',0};
278 #define INSTALLPROPERTY_PRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTNAME)
279 
280 #define INSTALLPROPERTY_ASSIGNMENTTYPEA "AssignmentType"
281 static const WCHAR INSTALLPROPERTY_ASSIGNMENTTYPEW[] = {'A','s','s','i','g','n','m','e','n','t','T','y','p','e',0};
282 #define INSTALLPROPERTY_ASSIGNMENTTYPE WINELIB_NAME_AW(INSTALLPROPERTY_ASSIGNMENTTYPE)
283 
284 #define INSTALLPROPERTY_PACKAGECODEA "PackageCode"
285 static const WCHAR INSTALLPROPERTY_PACKAGECODEW[] = {'P','a','c','k','a','g','e','C','o','d','e',0};
286 #define INSTALLPROPERTY_PACKAGECODE WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGECODE)
287 
288 #define INSTALLPROPERTY_VERSIONA "Version"
289 static const WCHAR INSTALLPROPERTY_VERSIONW[]= {'V','e','r','s','i','o','n',0};
290 #define INSTALLPROPERTY_VERSION WINELIB_NAME_AW(INSTALLPROPERTY_VERSION)
291 
292 /* MSI version 1.1 and above */
293 
294 #define INSTALLPROPERTY_PRODUCTICONA "ProductIcon"
295 static const WCHAR INSTALLPROPERTY_PRODUCTICONW[] = {'P','r','o','d','u','c','t','I','c','o','n',0};
296 #define INSTALLPROPERTY_PRODUCTICON WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTICON)
297 
298 /* MSI version 1.5 and above */
299 #define INSTALLPROPERTY_INSTANCETYPEA "InstanceType"
300 static const WCHAR INSTALLPROPERTY_INSTANCETYPEW[] = {'I','n','s','t','a','n','c','e','T','y','p','e',0};
301 #define INSTALLPROPERTY_INSTANCETYPE WINELIB_NAME_AW(INSTALLPROPERTY_INSTANCETYPE)
302 
303 /* MSI version 3 and above */
304 #define INSTALLPROPERTY_AUTHORIZED_LUA_APPA "AuthorizedLUAApp"
305 static const WCHAR INSTALLPROPERTY_AUTHORIZED_LUA_APPW[] = {'A','u','t','h','o','r','i','z','e','d','L','U','A','A','p','p',0};
306 #define INSTALLPROPERTY_AUTHORIZED_LUA_APP WINELIB_NAME_AW(INSTALLPROPERTY_AUTHORIZED_LUA_APP)
307 
308 
309 /* Installed Information */
310 #define INSTALLPROPERTY_INSTALLEDPRODUCTNAMEA "InstalledProductName"
311 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};
312 #define INSTALLPROPERTY_INSTALLEDPRODUCTNAME WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLEDPRODUCTNAME)
313 
314 #define INSTALLPROPERTY_VERSIONSTRINGA "VersionString"
315 static const WCHAR INSTALLPROPERTY_VERSIONSTRINGW[] = {'V','e','r','s','i','o','n','S','t','r','i','n','g',0};
316 #define INSTALLPROPERTY_VERSIONSTRING WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONSTRING)
317 
318 #define INSTALLPROPERTY_HELPLINKA "HelpLink"
319 static const WCHAR INSTALLPROPERTY_HELPLINKW[] = {'H','e','l','p','L','i','n','k',0};
320 #define INSTALLPROPERTY_HELPLINK WINELIB_NAME_AW(INSTALLPROPERTY_HELPLINK)
321 
322 #define INSTALLPROPERTY_HELPTELEPHONEA "HelpTelephone"
323 static const WCHAR INSTALLPROPERTY_HELPTELEPHONEW[] = {'H','e','l','p','T','e','l','e','p','h','o','n','e',0};
324 #define INSTALLPROPERTY_HELPTELEPHONE WINELIB_NAME_AW(INSTALLPROPERTY_HELPTELEPHONE)
325 
326 #define INSTALLPROPERTY_INSTALLLOCATIONA "InstallLocation"
327 static const WCHAR INSTALLPROPERTY_INSTALLLOCATIONW[] = {'I','n','s','t','a','l','l','L','o','c','a','t','i','o','n',0};
328 #define INSTALLPROPERTY_INSTALLLOCATION WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLLOCATION)
329 
330 #define INSTALLPROPERTY_INSTALLSOURCEA "InstallSource"
331 static const WCHAR INSTALLPROPERTY_INSTALLSOURCEW[] = {'I','n','s','t','a','l','l','S','o','u','r','c','e',0};
332 #define INSTALLPROPERTY_INSTALLSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLSOURCE)
333 
334 #define INSTALLPROPERTY_INSTALLDATEA "InstallDate"
335 static const WCHAR INSTALLPROPERTY_INSTALLDATEW[] = {'I','n','s','t','a','l','l','D','a','t','e',0};
336 #define INSTALLPROPERTY_INSTALLDATE WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLDATE)
337 
338 #define INSTALLPROPERTY_PUBLISHERA "Publisher"
339 static const WCHAR INSTALLPROPERTY_PUBLISHERW[] ={'P','u','b','l','i','s','h','e','r',0};
340 #define INSTALLPROPERTY_PUBLISHER WINELIB_NAME_AW(INSTALLPROPERTY_PUBLISHER)
341 
342 #define INSTALLPROPERTY_LOCALPACKAGEA "LocalPackage"
343 static const WCHAR INSTALLPROPERTY_LOCALPACKAGEW[] = {'L','o','c','a','l','P','a','c','k','a','g','e',0};
344 #define INSTALLPROPERTY_LOCALPACKAGE WINELIB_NAME_AW(INSTALLPROPERTY_LOCALPACKAGE)
345 
346 #define INSTALLPROPERTY_URLINFOABOUTA "URLInfoAbout"
347 static const WCHAR INSTALLPROPERTY_URLINFOABOUTW[] = {'U','R','L','I','n','f','o','A','b','o','u','t',0};
348 #define INSTALLPROPERTY_URLINFOABOUT WINELIB_NAME_AW(INSTALLPROPERTY_URLINFOABOUT)
349 
350 #define INSTALLPROPERTY_URLUPDATEINFOA "URLUpdateInfo"
351 static const WCHAR INSTALLPROPERTY_URLUPDATEINFOW[] = {'U','R','L','U','p','d','a','t','e','I','n','f','o',0};
352 #define INSTALLPROPERTY_URLUPDATEINFO WINELIB_NAME_AW(INSTALLPROPERTY_URLUPDATEINFO)
353 
354 #define INSTALLPROPERTY_VERSIONMINORA "VersionMinor"
355 static const WCHAR INSTALLPROPERTY_VERSIONMINORW[] = {'V','e','r','s','i','o','n','M','i','n','o','r',0};
356 #define INSTALLPROPERTY_VERSIONMINOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMINOR)
357 
358 #define INSTALLPROPERTY_VERSIONMAJORA "VersionMajor"
359 static const WCHAR INSTALLPROPERTY_VERSIONMAJORW[] = {'V','e','r','s','i','o','n','M','a','j','o','r',0};
360 #define INSTALLPROPERTY_VERSIONMAJOR WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMAJOR)
361 
362 #define INSTALLPROPERTY_PRODUCTIDA "ProductID"
363 static const WCHAR INSTALLPROPERTY_PRODUCTIDW[] = {'P','r','o','d','u','c','t','I','D',0};
364 #define INSTALLPROPERTY_PRODUCTID WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTID)
365 
366 #define INSTALLPROPERTY_REGCOMPANYA "RegCompany"
367 static const WCHAR INSTALLPROPERTY_REGCOMPANYW[] = {'R','e','g','C','o','m','p','a','n','y',0};
368 #define INSTALLPROPERTY_REGCOMPANY WINELIB_NAME_AW(INSTALLPROPERTY_REGCOMPANY)
369 
370 #define INSTALLPROPERTY_REGOWNERA "RegOwner"
371 static const WCHAR INSTALLPROPERTY_REGOWNERW[] = {'R','e','g','O','w','n','e','r',0};
372 #define INSTALLPROPERTY_REGOWNER WINELIB_NAME_AW(INSTALLPROPERTY_REGOWNER)
373 
374 /* MSI Version 3.0 and greater */
375 #define INSTALLPROPERTY_UNINSTALLABLEA "Uninstallable"
376 static const WCHAR INSTALLPROPERTY_UNINSTALLABLEW[] = {'U','n','i','n','s','t','a','l','l','a','b','l','e',0};
377 #define INSTALLPROPERTY_UNINSTALLABLE WINELIB_NAME_AW(INSTALLPROPERTY_UNINSTALLABLE)
378 
379 #define INSTALLPROPERTY_PRODUCTSTATEA "State"
380 static const WCHAR INSTALLPROPERTY_PRODUCTSTATEW[] = {'S','t','a','t','e',0};
381 #define INSTALLPROPERTY_PRODUCTSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTSTATE)
382 
383 #define INSTALLPROPERTY_PATCHSTATEA "State"
384 static const WCHAR INSTALLPROPERTY_PATCHSTATEW[] ={'S','t','a','t','e',0};
385 #define INSTALLPROPERTY_PATCHSTATE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHSTATE)
386 
387 #define INSTALLPROPERTY_PATCHTYPEA "PatchType"
388 static const WCHAR INSTALLPROPERTY_PATCHTYPEW[] = {'P','a','t','c','h','T','y','p','e',0};
389 #define INSTALLPROPERTY_PATCHTYPE WINELIB_NAME_AW(INSTALLPROPERTY_PATCHTYPE)
390 
391 #define INSTALLPROPERTY_LUAENABLEDA "LUAEnabled"
392 static const WCHAR INSTALLPROPERTY_LUAENABLEDW[] = {'L','U','A','E','n','a','b','l','e','d',0};
393 #define INSTALLPROPERTY_LUAENABLED WINELIB_NAME_AW(INSTALLPROPERTY_LUAENABLED)
394 
395 #define INSTALLPROPERTY_DISPLAYNAMEA "DisplayName"
396 static const WCHAR INSTALLPROPERTY_DISPLAYNAMEW[] = {'D','i','s','p','l','a','y','N','a','m','e',0};
397 #define INSTALLPROPERTY_DISPLAYNAME WINELIB_NAME_AW(INSTALLPROPERTY_DISPLAYNAME)
398 
399 #define INSTALLPROPERTY_MOREINFOURLA "MoreInfoURL"
400 static const WCHAR INSTALLPROPERTY_MOREINFOURLW[] = {'M','o','r','e','I','n','f','o','U','R','L',0};
401 #define INSTALLPROPERTY_MOREINFOURL WINELIB_NAME_AW(INSTALLPROPERTY_MOREINFOURL)
402 
403 /* Source List Info */
404 #define INSTALLPROPERTY_LASTUSEDSOURCEA "LastUsedSource"
405 static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW[] = {'L','a','s','t','U','s','e','d','S','o','u','r','c','e',0};
406 #define INSTALLPROPERTY_LASTUSEDSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCE)
407 
408 #define INSTALLPROPERTY_LASTUSEDTYPEA "LastUsedType"
409 static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW[] = {'L','a','s','t','U','s','e','d','T','y','p','e',0};
410 #define INSTALLPROPERTY_LASTUSEDTYPE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDTYPE)
411 
412 #define INSTALLPROPERTY_MEDIAPACKAGEPATHA "MediaPackagePath"
413 static const WCHAR INSTALLPROPERTY_MEDIAPACKAGEPATHW[] = {'M','e','d','i','a','P','a','c','k','a','g','e','P','a','t','h',0};
414 #define INSTALLPROPERTY_MEDIAPACKAGEPATH WINELIB_NAME_AW(INSTALLPROPERTY_MEDIAPACKAGEPATH)
415 
416 #define INSTALLPROPERTY_DISKPROMPTA "DiskPrompt"
417 static const WCHAR INSTALLPROPERTY_DISKPROMPTW[] = {'D','i','s','k','P','r','o','m','p','t',0};
418 #define INSTALLPROPERTY_DISKPROMPT WINELIB_NAME_AW(INSTALLPROPERTY_DISKPROMPT)
419 
424 
425 UINT
426 WINAPI
428  _In_ LPCSTR,
431  _In_ LANGID);
432 
433 UINT
434 WINAPI
436  _In_ LPCWSTR,
439  _In_ LANGID);
440 
441 #define MsiAdvertiseProduct WINELIB_NAME_AW(MsiAdvertiseProduct)
442 
443 UINT
444 WINAPI
446  _In_ LPCSTR,
449  _In_ LANGID,
450  _In_ DWORD,
451  _In_ DWORD);
452 
453 UINT
454 WINAPI
456  _In_ LPCWSTR,
459  _In_ LANGID,
460  _In_ DWORD,
461  _In_ DWORD);
462 
463 #define MsiAdvertiseProductEx WINELIB_NAME_AW(MsiAdvertiseProductEx)
464 
467 #define MsiInstallProduct WINELIB_NAME_AW(MsiInstallProduct)
468 
471 #define MsiReinstallProduct WINELIB_NAME_AW(MsiReinstallProduct)
472 
473 UINT
474 WINAPI
476  _In_ LPCSTR,
479  _In_opt_ LPCSTR);
480 
481 UINT
482 WINAPI
484  _In_ LPCWSTR,
487  _In_opt_ LPCWSTR);
488 
489 #define MsiApplyPatch WINELIB_NAME_AW(MsiApplyPatch)
490 
493 #define MsiEnumComponentCosts WINELIB_NAME_AW(MsiEnumComponentCosts)
494 
495 UINT
496 WINAPI
498  _In_ DWORD,
500 
501 UINT
502 WINAPI
504  _In_ DWORD,
506 
507 #define MsiEnumProducts WINELIB_NAME_AW(MsiEnumProducts)
508 
509 UINT
510 WINAPI
514  _In_ DWORD,
515  _In_ DWORD,
518  _Out_writes_opt_(*pcchSid) LPSTR,
519  _Inout_opt_ LPDWORD pcchSid);
520 
521 UINT
522 WINAPI
526  _In_ DWORD,
527  _In_ DWORD,
530  _Out_writes_opt_(*pcchSid) LPWSTR,
531  _Inout_opt_ LPDWORD pcchSid);
532 
533 #define MsiEnumProductsEx WINELIB_NAME_AW(MsiEnumProductsEx)
534 
535 UINT
536 WINAPI
538  _In_ LPCSTR,
539  _In_ DWORD,
542 
543 UINT
544 WINAPI
546  _In_ LPCWSTR,
547  _In_ DWORD,
550 
551 #define MsiEnumFeatures WINELIB_NAME_AW(MsiEnumFeatures)
552 
553 UINT
554 WINAPI
556  _In_ DWORD,
558 
559 UINT
560 WINAPI
562  _In_ DWORD,
564 
565 #define MsiEnumComponents WINELIB_NAME_AW(MsiEnumComponents)
566 
567 UINT
568 WINAPI
571  _In_ DWORD,
572  _In_ DWORD,
575  _Out_writes_opt_(*pcchSid) LPSTR,
576  _Inout_opt_ LPDWORD pcchSid);
577 
578 UINT
579 WINAPI
582  _In_ DWORD,
583  _In_ DWORD,
586  _Out_writes_opt_(*pcchSid) LPWSTR,
587  _Inout_opt_ LPDWORD pcchSid);
588 
589 #define MsiEnumComponentsEx WINELIB_NAME_AW(MsiEnumComponentsEx)
590 
591 UINT
592 WINAPI
594  _In_ LPCSTR,
595  _In_ DWORD,
597 
598 UINT
599 WINAPI
601  _In_ LPCWSTR,
602  _In_ DWORD,
604 
605 #define MsiEnumClients WINELIB_NAME_AW(MsiEnumClients)
606 
609 #define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
610 
613 #define MsiOpenPackageEx WINELIB_NAME_AW(MsiOpenPackageEx)
614 
617 #define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
618 
619 UINT
620 WINAPI
622  _In_ MSIHANDLE,
623  _In_ LPCSTR,
624  _Out_writes_opt_(*pcchValueBuf) LPSTR,
625  _Inout_opt_ LPDWORD pcchValueBuf);
626 
627 UINT
628 WINAPI
630  _In_ MSIHANDLE,
631  _In_ LPCWSTR,
632  _Out_writes_opt_(*pcchValueBuf) LPWSTR,
633  _Inout_opt_ LPDWORD pcchValueBuf);
634 
635 #define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
636 
639 #define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
640 
641 UINT
642 WINAPI
644  _In_ LPCSTR,
647  _In_ LPCSTR,
649 
650 UINT
651 WINAPI
653  _In_ LPCWSTR,
656  _In_ LPCWSTR,
658 
659 #define MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState)
660 
663 #define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
664 
667 #define MsiConfigureProduct WINELIB_NAME_AW(MsiConfigureProduct)
668 
669 UINT
670 WINAPI
672  _In_ LPCSTR,
673  _In_ int,
675  _In_opt_ LPCSTR);
676 
677 UINT
678 WINAPI
680  _In_ LPCWSTR,
681  _In_ int,
683  _In_opt_ LPCWSTR);
684 
685 #define MsiConfigureProductEx WINELIB_NAME_AW(MsiConfigureProductEx)
686 
687 UINT
688 WINAPI
690  _In_ LPCSTR,
691  _In_ LPCSTR,
693 
694 UINT
695 WINAPI
697  _In_ LPCWSTR,
698  _In_ LPCWSTR,
700 
701 #define MsiConfigureFeature WINELIB_NAME_AW(MsiConfigureFeature)
702 
703 UINT
704 WINAPI
706  _In_ LPCSTR,
708 
709 UINT
710 WINAPI
712  _In_ LPCWSTR,
714 
715 #define MsiGetProductCode WINELIB_NAME_AW(MsiGetProductCode)
716 
717 UINT
718 WINAPI
720  _In_ LPCSTR,
721  _In_ LPCSTR,
722  _Out_writes_opt_(*pcchValueBuf) LPSTR,
723  _Inout_opt_ LPDWORD pcchValueBuf);
724 
725 UINT
726 WINAPI
728  _In_ LPCWSTR,
729  _In_ LPCWSTR,
730  _Out_writes_opt_(*pcchValueBuf) LPWSTR,
731  _Inout_opt_ LPDWORD pcchValueBuf);
732 
733 #define MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo)
734 
735 UINT
736 WINAPI
738  _In_ LPCSTR,
741  _In_ LPCSTR,
742  _Out_writes_opt_(*pcchValue) LPSTR,
743  _Inout_opt_ LPDWORD pcchValue);
744 
745 UINT
746 WINAPI
748  _In_ LPCWSTR,
751  _In_ LPCWSTR,
752  _Out_writes_opt_(*pcchValue) LPWSTR,
753  _Inout_opt_ LPDWORD pcchValue);
754 
755 #define MsiGetProductInfoEx WINELIB_NAME_AW(MsiGetProductInfoEx)
756 
757 UINT
758 WINAPI
760  _In_ LPCSTR,
761  _In_ LPCSTR,
764  _In_ LPCSTR,
765  _Out_writes_opt_(*pcchValue) LPSTR,
766  _Inout_opt_ LPDWORD pcchValue);
767 
768 UINT
769 WINAPI
771  _In_ LPCWSTR,
772  _In_ LPCWSTR,
775  _In_ LPCWSTR,
776  _Out_writes_opt_(*pcchValue) LPWSTR,
777  _Inout_opt_ LPDWORD pcchValue);
778 
779 #define MsiGetPatchInfoEx WINELIB_NAME_AW(MsiGetPatchInfoEx)
780 
781 UINT
782 WINAPI
784  _In_ LPCSTR,
785  _In_ LPCSTR,
786  _Out_writes_opt_(*pcchValueBuf) LPSTR,
787  _Inout_opt_ LPDWORD pcchValueBuf);
788 
789 UINT
790 WINAPI
792  _In_ LPCWSTR,
793  _In_ LPCWSTR,
794  _Out_writes_opt_(*pcchValueBuf) LPWSTR,
795  _Inout_opt_ LPDWORD pcchValueBuf);
796 
797 #define MsiGetPatchInfo WINELIB_NAME_AW(MsiGetPatchInfo)
798 
801 #define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
802 
804 WINAPI
807  _In_ DWORD,
808  _In_opt_ LPVOID);
809 
811 WINAPI
814  _In_ DWORD,
815  _In_opt_ LPVOID);
816 
817 #define MsiSetExternalUI WINELIB_NAME_AW(MsiSetExternalUI)
818 
820 WINAPI
822  _In_ LPCSTR,
823  _In_ LPCSTR,
824  _Out_writes_opt_(*pcchBuf) LPSTR,
825  _Inout_opt_ LPDWORD pcchBuf);
826 
828 WINAPI
830  _In_ LPCWSTR,
831  _In_ LPCWSTR,
832  _Out_writes_opt_(*pcchBuf) LPWSTR,
833  _Inout_opt_ LPDWORD pcchBuf);
834 
835 #define MsiGetComponentPath WINELIB_NAME_AW(MsiGetComponentPath)
836 
839 #define MsiQueryFeatureState WINELIB_NAME_AW(MsiQueryFeatureState)
840 
841 UINT
842 WINAPI
844  _In_ LPCSTR,
847  _In_ LPCSTR,
849 
850 UINT
851 WINAPI
853  _In_ LPCWSTR,
856  _In_ LPCWSTR,
858 
859 #define MsiQueryFeatureStateEx WINELIB_NAME_AW(MsiQueryFeatureStateEx)
860 
861 UINT
862 WINAPI
864  _In_ MSIHANDLE,
865  _In_ LPCSTR,
867  _Out_writes_opt_(*pcchTitleBuf) LPSTR,
868  _Inout_opt_ LPDWORD pcchTitleBuf,
869  _Out_writes_opt_(*pcchHelpBuf) LPSTR,
870  _Inout_opt_ LPDWORD pcchHelpBuf);
871 
872 UINT
873 WINAPI
875  _In_ MSIHANDLE,
876  _In_ LPCWSTR,
878  _Out_writes_opt_(*pcchTitleBuf) LPWSTR,
879  _Inout_opt_ LPDWORD pcchTitleBuf,
880  _Out_writes_opt_(*pcchHelpBuf) LPWSTR,
881  _Inout_opt_ LPDWORD pcchHelpBuf);
882 
883 #define MsiGetFeatureInfo WINELIB_NAME_AW(MsiGetFeatureInfo)
884 
885 UINT
886 WINAPI
888  _In_ LPCSTR,
889  _In_ LPCSTR,
891  _Out_opt_ LPWORD);
892 
893 UINT
894 WINAPI
896  _In_ LPCWSTR,
897  _In_ LPCWSTR,
899  _Out_opt_ LPWORD);
900 
901 #define MsiGetFeatureUsage WINELIB_NAME_AW(MsiGetFeatureUsage)
902 
903 UINT
904 WINAPI
906  _In_ LPCSTR,
908  _In_ DWORD,
910 
911 UINT
912 WINAPI
914  _In_ LPCWSTR,
916  _In_ DWORD,
918 
919 #define MsiEnumRelatedProducts WINELIB_NAME_AW(MsiEnumRelatedProducts)
920 
921 UINT
922 WINAPI
924  _In_ LPCSTR,
926  _In_ DWORD,
927  _In_ DWORD,
928  _Out_writes_opt_(*pcchPathBuf) LPSTR,
929  _Inout_opt_ LPDWORD pcchPathBuf);
930 
931 UINT
932 WINAPI
934  _In_ LPCWSTR,
936  _In_ DWORD,
937  _In_ DWORD,
938  _Out_writes_opt_(*pcchPathBuf) LPWSTR,
939  _Inout_opt_ LPDWORD pcchPathBuf);
940 
941 #define MsiProvideAssembly WINELIB_NAME_AW(MsiProvideAssembly)
942 
943 UINT
944 WINAPI
946  _In_ LPCSTR,
947  _In_ DWORD,
948  _Out_writes_(*pcchQualifierBuf) LPSTR,
949  _Inout_ LPDWORD pcchQualifierBuf,
950  _Out_writes_opt_(*pcchApplicationDataBuf) LPSTR,
951  _Inout_opt_ LPDWORD pcchApplicationDataBuf);
952 
953 UINT
954 WINAPI
956  _In_ LPCWSTR,
957  _In_ DWORD,
958  _Out_writes_(*pcchQualifierBuf) LPWSTR,
959  _Inout_ LPDWORD pcchQualifierBuf,
960  _Out_writes_opt_(*pcchApplicationDataBuf) LPWSTR,
961  _Inout_opt_ LPDWORD pcchApplicationDataBuf);
962 
963 #define MsiEnumComponentQualifiers WINELIB_NAME_AW(MsiEnumComponentQualifiers)
964 
965 UINT
966 WINAPI
968  _In_ LPCSTR,
969  _Out_writes_opt_(*pcchVersionBuf) LPSTR,
970  _Inout_opt_ LPDWORD pcchVersionBuf,
971  _Out_writes_opt_(*pcchLangBuf) LPSTR,
972  _Inout_opt_ LPDWORD pcchLangBuf);
973 
974 UINT
975 WINAPI
977  _In_ LPCWSTR,
978  _Out_writes_opt_(*pcchVersionBuf) LPWSTR,
979  _Inout_opt_ LPDWORD pcchVersionBuf,
980  _Out_writes_opt_(*pcchLangBuf) LPWSTR,
981  _Inout_opt_ LPDWORD pcchLangBuf);
982 
983 #define MsiGetFileVersion WINELIB_NAME_AW(MsiGetFileVersion)
984 
987 #define MsiMessageBox WINELIB_NAME_AW(MsiMessageBox)
988 
989 UINT
990 WINAPI
992  _In_ LPCSTR,
993  _In_ LPCSTR,
994  _In_ DWORD,
998  _Out_writes_opt_(*pcchPathBuf) LPSTR,
999  _Inout_opt_ LPDWORD pcchPathBuf);
1000 
1001 UINT
1002 WINAPI
1004  _In_ LPCWSTR,
1005  _In_ LPCWSTR,
1006  _In_ DWORD,
1007  _In_opt_ LPCWSTR,
1008  _Reserved_ DWORD,
1009  _Reserved_ DWORD,
1010  _Out_writes_opt_(*pcchPathBuf) LPWSTR,
1011  _Inout_opt_ LPDWORD pcchPathBuf);
1012 
1013 #define MsiProvideQualifiedComponentEx WINELIB_NAME_AW(MsiProvideQualifiedComponentEx)
1014 
1015 UINT
1016 WINAPI
1018  _In_ LPCSTR,
1019  _In_ LPCSTR,
1020  _In_ DWORD,
1021  _Out_writes_opt_(*pcchPathBuf) LPSTR,
1022  _Inout_opt_ LPDWORD pcchPathBuf);
1023 
1024 UINT
1025 WINAPI
1027  _In_ LPCWSTR,
1028  _In_ LPCWSTR,
1029  _In_ DWORD,
1030  _Out_writes_opt_(*pcchPathBuf) LPWSTR,
1031  _Inout_opt_ LPDWORD pcchPathBuf);
1032 
1033 #define MsiProvideQualifiedComponent WINELIB_NAME_AW(MsiProvideQualifiedComponent)
1034 
1036 WINAPI
1038  _In_ LPCSTR,
1039  _Out_writes_opt_(*pcchUserNameBuf) LPSTR,
1040  _Inout_opt_ LPDWORD pcchUserNameBuf,
1041  _Out_writes_opt_(*pcchOrgNameBuf) LPSTR,
1042  _Inout_opt_ LPDWORD pcchOrgNameBuf,
1043  _Out_writes_opt_(*pcchSerialBuf) LPSTR,
1044  _Inout_opt_ LPDWORD pcchSerialBuf);
1045 
1047 WINAPI
1049  _In_ LPCWSTR,
1050  _Out_writes_opt_(*pcchUserNameBuf) LPWSTR,
1051  _Inout_opt_ LPDWORD pcchUserNameBuf,
1052  _Out_writes_opt_(*pcchOrgNameBuf) LPWSTR,
1053  _Inout_opt_ LPDWORD pcchOrgNameBuf,
1054  _Out_writes_opt_(*pcchSerialBuf) LPWSTR,
1055  _Inout_opt_ LPDWORD pcchSerialBuf);
1056 
1057 #define MsiGetUserInfo WINELIB_NAME_AW(MsiGetUserInfo)
1058 
1061 #define MsiProvideComponent WINELIB_NAME_AW(MsiProvideComponent)
1062 
1065 #define MsiCollectUserInfo WINELIB_NAME_AW(MsiCollectUserInfo)
1066 
1069 #define MsiReinstallFeature WINELIB_NAME_AW(MsiReinstallFeature)
1070 
1071 UINT
1072 WINAPI
1074  _In_ LPCSTR,
1078 
1079 UINT
1080 WINAPI
1082  _In_ LPCWSTR,
1086 
1087 #define MsiGetShortcutTarget WINELIB_NAME_AW(MsiGetShortcutTarget)
1088 
1091 #define MsiUseFeature WINELIB_NAME_AW(MsiUseFeature)
1092 
1094 WINAPI
1096  _In_ LPCWSTR,
1097  _In_ LPCWSTR,
1098  _In_ DWORD,
1099  _Reserved_ DWORD);
1100 
1102 WINAPI
1104  _In_ LPCSTR,
1105  _In_ LPCSTR,
1106  _In_ DWORD,
1107  _Reserved_ DWORD);
1108 
1109 #define MsiUseFeatureEx WINELIB_NAME_AW(MsiUseFeatureEx)
1110 
1111 HRESULT
1112 WINAPI
1114  _In_ LPCSTR,
1115  _In_ DWORD,
1117  _Out_writes_bytes_opt_(*pcbHashData) LPBYTE,
1118  _Inout_opt_ LPDWORD pcbHashData);
1119 
1120 HRESULT
1121 WINAPI
1123  _In_ LPCWSTR,
1124  _In_ DWORD,
1126  _Out_writes_bytes_opt_(*pcbHashData) LPBYTE,
1127  _Inout_opt_ LPDWORD pcbHashData);
1128 
1129 #define MsiGetFileSignatureInformation WINELIB_NAME_AW(MsiGetFileSignatureInformation)
1130 
1132 WINAPI
1134  _In_ LPCSTR,
1135  _Out_writes_opt_(*pcchBuf) LPSTR,
1136  _Inout_opt_ LPDWORD pcchBuf);
1137 
1139 WINAPI
1141  _In_ LPCWSTR,
1142  _Out_writes_opt_(*pcchBuf) LPWSTR,
1143  _Inout_opt_ LPDWORD pcchBuf);
1144 
1145 #define MsiLocateComponent WINELIB_NAME_AW(MsiLocateComponent)
1146 
1147 UINT
1148 WINAPI
1150  _In_ LPCSTR,
1151  _In_opt_ LPCSTR,
1152  _Reserved_ DWORD,
1153  _In_ LPCSTR);
1154 
1155 UINT
1156 WINAPI
1158  _In_ LPCWSTR,
1159  _In_opt_ LPCWSTR,
1160  _Reserved_ DWORD,
1161  _In_ LPCWSTR);
1162 
1163 #define MsiSourceListAddSource WINELIB_NAME_AW(MsiSourceListAddSource)
1164 
1165 UINT
1166 WINAPI
1168  _In_ LPCSTR,
1169  _In_opt_ LPCSTR,
1171  _In_ DWORD,
1172  _In_ DWORD,
1174  _Out_writes_opt_(*pcchVolumeLabel) LPSTR,
1175  _Inout_opt_ LPDWORD pcchVolumeLabel,
1176  _Out_writes_opt_(*pcchDiskPrompt) LPSTR,
1177  _Inout_opt_ LPDWORD pcchDiskPrompt);
1178 
1179 UINT
1180 WINAPI
1182  _In_ LPCWSTR,
1183  _In_opt_ LPCWSTR,
1185  _In_ DWORD,
1186  _In_ DWORD,
1188  _Out_writes_opt_(*pcchVolumeLabel) LPWSTR,
1189  _Inout_opt_ LPDWORD pcchVolumeLabel,
1190  _Out_writes_opt_(*pcchDiskPrompt) LPWSTR,
1191  _Inout_opt_ LPDWORD pcchDiskPrompt);
1192 
1193 #define MsiSourceListEnumMediaDisks WINELIB_NAME_AW(MsiSourceListEnumMediaDisks)
1194 
1195 UINT
1196 WINAPI
1198  _In_ LPCSTR,
1199  _In_opt_ LPCSTR,
1201  _In_ DWORD,
1202  _In_ DWORD,
1203  _Out_writes_opt_(*pcchSource) LPSTR,
1204  _Inout_opt_ LPDWORD pcchSource);
1205 
1206 UINT
1207 WINAPI
1209  _In_ LPCWSTR,
1210  _In_opt_ LPCWSTR,
1212  _In_ DWORD,
1213  _In_ DWORD,
1214  _Out_writes_opt_(*pcchSource) LPWSTR,
1215  _Inout_opt_ LPDWORD pcchSource);
1216 
1217 #define MsiSourceListEnumSources WINELIB_NAME_AW(MsiSourceListEnumSources)
1218 
1219 UINT
1220 WINAPI
1222  _In_ LPCSTR,
1223  _In_opt_ LPCSTR,
1225  _In_ DWORD,
1226  _In_ LPCSTR);
1227 
1228 UINT
1229 WINAPI
1231  _In_ LPCWSTR,
1232  _In_opt_ LPCWSTR,
1234  _In_ DWORD,
1235  _In_ LPCWSTR);
1236 
1237 #define MsiSourceListClearSource WINELIB_NAME_AW(MsiSourceListClearSource)
1238 
1239 UINT
1240 WINAPI
1242  _In_ LPCSTR,
1243  _In_opt_ LPCSTR,
1244  _Reserved_ DWORD);
1245 
1246 UINT
1247 WINAPI
1249  _In_ LPCWSTR,
1250  _In_opt_ LPCWSTR,
1251  _Reserved_ DWORD);
1252 
1253 #define MsiSourceListClearAll WINELIB_NAME_AW(MsiSourceListClearAll)
1254 
1255 UINT
1256 WINAPI
1258  _In_ LPCSTR,
1259  _In_opt_ LPCSTR,
1261  _In_ DWORD,
1262  _In_ LPCSTR,
1263  _Out_writes_opt_(*pcchValue) LPSTR,
1264  _Inout_opt_ LPDWORD pcchValue);
1265 
1266 UINT
1267 WINAPI
1269  _In_ LPCWSTR,
1270  _In_opt_ LPCWSTR,
1272  _In_ DWORD,
1273  _In_ LPCWSTR,
1274  _Out_writes_opt_(*pcchValue) LPWSTR,
1275  _Inout_opt_ LPDWORD pcchValue);
1276 
1277 #define MsiSourceListGetInfo WINELIB_NAME_AW(MsiSourceListGetInfo)
1278 
1279 UINT
1280 WINAPI
1282  _In_ LPCSTR,
1283  _In_opt_ LPCSTR,
1285  _In_ DWORD,
1286  _In_ LPCSTR,
1287  _In_ LPCSTR);
1288 
1289 UINT
1290 WINAPI
1292  _In_ LPCWSTR,
1293  _In_opt_ LPCWSTR,
1295  _In_ DWORD,
1296  _In_ LPCWSTR,
1297  _In_ LPCWSTR);
1298 
1299 #define MsiSourceListSetInfo WINELIB_NAME_AW(MsiSourceListSetInfo)
1300 
1301 UINT
1302 WINAPI
1304  _In_ LPCSTR,
1305  _In_opt_ LPCSTR,
1307  _In_ DWORD,
1308  _In_ LPCSTR,
1309  _In_ DWORD);
1310 
1311 UINT
1312 WINAPI
1314  _In_ LPCWSTR,
1315  _In_opt_ LPCWSTR,
1317  _In_ DWORD,
1318  _In_ LPCWSTR,
1319  _In_ DWORD);
1320 
1321 #define MsiSourceListAddSourceEx WINELIB_NAME_AW(MsiSourceListAddSourceEx)
1322 
1323 UINT
1324 WINAPI
1326  _In_ LPCSTR,
1327  _In_opt_ LPCSTR,
1329  _In_ DWORD,
1330  _In_ DWORD,
1331  _In_opt_ LPCSTR,
1332  _In_opt_ LPCSTR);
1333 
1334 UINT
1335 WINAPI
1337  _In_ LPCWSTR,
1338  _In_opt_ LPCWSTR,
1340  _In_ DWORD,
1341  _In_ DWORD,
1342  _In_opt_ LPCWSTR,
1343  _In_opt_ LPCWSTR);
1344 
1345 #define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk)
1346 
1347 UINT
1348 WINAPI
1350  _In_ LPCSTR,
1351  _In_ DWORD,
1353  _Out_writes_(*pcchTransformsBuf) LPSTR,
1354  _Inout_ LPDWORD pcchTransformsBuf);
1355 
1356 UINT
1357 WINAPI
1359  _In_ LPCWSTR,
1360  _In_ DWORD,
1362  _Out_writes_(*pcchTransformsBuf) LPWSTR,
1363  _Inout_ LPDWORD pcchTransformsBuf);
1364 
1365 #define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches)
1366 
1367 UINT
1368 WINAPI
1370  _In_opt_ LPCSTR,
1371  _In_opt_ LPCSTR,
1372  _In_ DWORD,
1373  _In_ DWORD,
1374  _In_ DWORD,
1378  _Out_writes_opt_(*pcchTargetUserSid) LPSTR,
1379  _Inout_opt_ LPDWORD pcchTargetUserSid);
1380 
1381 UINT
1382 WINAPI
1384  _In_opt_ LPCWSTR,
1385  _In_opt_ LPCWSTR,
1386  _In_ DWORD,
1387  _In_ DWORD,
1388  _In_ DWORD,
1392  _Out_writes_opt_(*pcchTargetUserSid) LPWSTR,
1393  _Inout_opt_ LPDWORD pcchTargetUserSid);
1394 
1395 #define MsiEnumPatchesEx WINELIB_NAME_AW(MsiEnumPatchesEx)
1396 
1397 UINT
1398 WINAPI
1400  _In_ LPCSTR,
1401  _In_ DWORD,
1403 
1404 UINT
1405 WINAPI
1407  _In_ LPCWSTR,
1408  _In_ DWORD,
1410 
1411 #define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash)
1412 
1413 UINT
1414 WINAPI
1416  _In_ LPCSTR,
1417  _In_ DWORD,
1418  _In_opt_ PHKEY,
1419  _In_ BOOL);
1420 
1421 UINT
1422 WINAPI
1424  _In_ LPCWSTR,
1425  _In_ DWORD,
1426  _In_opt_ PHKEY,
1427  _In_ BOOL);
1428 
1429 #define MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript)
1430 
1433 #define MsiIsProductElevated WINELIB_NAME_AW(MsiIsProductElevated)
1434 
1437 #define MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge)
1438 
1439 UINT
1440 WINAPI
1442  _In_ LPCSTR,
1443  _In_ LPCSTR,
1444  _In_ INSTALLSTATE);
1445 
1446 UINT
1447 WINAPI
1449  _In_ LPCWSTR,
1450  _In_ LPCWSTR,
1451  _In_ INSTALLSTATE);
1452 
1453 #define MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent)
1454 
1455 UINT
1456 WINAPI
1458  _In_ LPCSTR,
1459  _In_ DWORD cPatchInfo,
1461 
1462 UINT
1463 WINAPI
1465  _In_ LPCWSTR,
1466  _In_ DWORD cPatchInfo,
1468 
1469 #define MsiDetermineApplicablePatches WINELIB_NAME_AW(MsiDetermineApplicablePatches)
1470 
1471 UINT
1472 WINAPI
1474  _In_ LPCSTR,
1475  _In_opt_ LPCSTR,
1477  _In_ DWORD cPatchInfo,
1479 
1480 UINT
1481 WINAPI
1483  _In_ LPCWSTR,
1484  _In_opt_ LPCWSTR,
1486  _In_ DWORD cPatchInfo,
1488 
1489 #define MsiDeterminePatchSequence WINELIB_NAME_AW(MsiDeterminePatchSequence)
1490 
1491 UINT
1492 WINAPI
1494  _In_ LPCSTR,
1495  _In_opt_ LPCSTR,
1496  _In_opt_ LPCSTR);
1497 
1498 UINT
1499 WINAPI
1501  _In_ LPCWSTR,
1502  _In_opt_ LPCWSTR,
1503  _In_opt_ LPCWSTR);
1504 
1505 #define MsiApplyMultiplePatches WINELIB_NAME_AW(MsiApplyMultiplePatches)
1506 
1507 UINT
1508 WINAPI
1510  _In_ LPCSTR,
1511  _In_ DWORD,
1512  _Out_ MSIHANDLE *,
1513  _Out_ HANDLE *);
1514 
1515 UINT
1516 WINAPI
1518  _In_ LPCWSTR,
1519  _In_ DWORD,
1520  _Out_ MSIHANDLE *,
1521  _Out_ HANDLE *);
1522 
1523 #define MsiBeginTransaction WINELIB_NAME_AW(MsiBeginTransaction)
1524 
1526 
1527 /* Non Unicode */
1531 
1532 UINT
1533 WINAPI
1536  _In_ DWORD,
1537  _In_opt_ LPVOID,
1539 
1540 #ifdef __cplusplus
1541 }
1542 #endif
1543 
1544 #endif /* __WINE_MSI_H */
tagADVERTISEFLAGS
Definition: msi.h:169
UINT WINAPI MsiSourceListAddMediaDiskA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
static const WCHAR INSTALLPROPERTY_URLUPDATEINFOW[]
Definition: msi.h:351
static const WCHAR INSTALLPROPERTY_LUAENABLEDW[]
Definition: msi.h:392
#define MAX_GUID_CHARS
Definition: msi.h:26
static const WCHAR INSTALLPROPERTY_PATCHSTATEW[]
Definition: msi.h:384
static const WCHAR INSTALLPROPERTY_PACKAGENAMEW[]
Definition: msi.h:265
UINT WINAPI MsiEnumComponentQualifiersW(_In_ LPCWSTR, _In_ DWORD, _Out_writes_(*pcchQualifierBuf) LPWSTR, _Inout_ LPDWORD pcchQualifierBuf, _Out_writes_opt_(*pcchApplicationDataBuf) LPWSTR, _Inout_opt_ LPDWORD pcchApplicationDataBuf)
UINT WINAPI MsiEnumClientsW(_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
UINT WINAPI MsiGetShortcutTargetW(_In_ LPCWSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR)
UINT WINAPI MsiGetFileHashA(_In_ LPCSTR, _In_ DWORD, _Inout_ PMSIFILEHASHINFO)
HRESULT WINAPI MsiGetFileSignatureInformationW(_In_ LPCWSTR, _In_ DWORD, _Outptr_ PCCERT_CONTEXT *, _Out_writes_bytes_opt_(*pcbHashData) LPBYTE, _Inout_opt_ LPDWORD pcbHashData)
UINT WINAPI MsiVerifyPackageA(_In_ LPCSTR)
UINT WINAPI MsiGetPatchInfoW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
UINT WINAPI MsiEnumPatchesW(_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR, _Out_writes_(*pcchTransformsBuf) LPWSTR, _Inout_ LPDWORD pcchTransformsBuf)
static const WCHAR INSTALLPROPERTY_HELPLINKW[]
Definition: msi.h:319
UINT WINAPI MsiGetProductCodeA(_In_ LPCSTR, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
enum tagMSIINSTALLCONTEXT MSIINSTALLCONTEXT
Definition: action.c:41
enum tagINSTALLMODE INSTALLMODE
UINT WINAPI MsiOpenProductA(_In_ LPCSTR, _Out_ MSIHANDLE *)
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
tagINSTALLTYPE
Definition: msi.h:187
static const WCHAR INSTALLPROPERTY_INSTALLDATEW[]
Definition: msi.h:335
static const WCHAR INSTALLPROPERTY_PATCHTYPEW[]
Definition: msi.h:388
INSTALLSTATE WINAPI MsiQueryProductStateA(_In_ LPCSTR)
UINT WINAPI MsiGetFeatureUsageW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_opt_ LPDWORD, _Out_opt_ LPWORD)
enum tagINSTALLUILEVEL INSTALLUILEVEL
USERINFOSTATE WINAPI MsiGetUserInfoA(_In_ LPCSTR, _Out_writes_opt_(*pcchUserNameBuf) LPSTR, _Inout_opt_ LPDWORD pcchUserNameBuf, _Out_writes_opt_(*pcchOrgNameBuf) LPSTR, _Inout_opt_ LPDWORD pcchOrgNameBuf, _Out_writes_opt_(*pcchSerialBuf) LPSTR, _Inout_opt_ LPDWORD pcchSerialBuf)
tagREINSTALLMODE
Definition: msi.h:114
UINT WINAPI MsiGetFileHashW(_In_ LPCWSTR, _In_ DWORD, _Inout_ PMSIFILEHASHINFO)
UINT WINAPI MsiProvideQualifiedComponentExW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _In_opt_ LPCWSTR, _Reserved_ DWORD, _Reserved_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
UINT WINAPI MsiEnumFeaturesA(_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_FEATURE_CHARS+1) LPSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPSTR)
UINT WINAPI MsiSourceListAddSourceA(_In_ LPCSTR, _In_opt_ LPCSTR, _Reserved_ DWORD, _In_ LPCSTR)
static const WCHAR INSTALLPROPERTY_UNINSTALLABLEW[]
Definition: msi.h:376
enum tagINSTALLLOGMODE INSTALLLOGMODE
static const WCHAR INSTALLPROPERTY_MEDIAPACKAGEPATHW[]
Definition: msi.h:413
UINT WINAPI MsiAdvertiseProductW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LANGID)
UINT WINAPI MsiSourceListAddSourceExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _In_ DWORD)
char CHAR
Definition: xmlstorage.h:175
static const WCHAR INSTALLPROPERTY_PUBLISHERW[]
Definition: msi.h:339
UINT WINAPI MsiSetExternalUIRecord(_In_opt_ INSTALLUI_HANDLER_RECORD, _In_ DWORD, _In_opt_ LPVOID, _Out_opt_ PINSTALLUI_HANDLER_RECORD)
#define INT
Definition: polytest.cpp:20
UINT WINAPI MsiGetProductCodeW(_In_ LPCWSTR, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
UINT WINAPI MsiGetShortcutTargetA(_In_ LPCSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR)
#define CALLBACK
Definition: compat.h:27
UINT WINAPI MsiGetProductInfoExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
struct tagMSIPATCHSEQUENCEINFOA * PMSIPATCHSEQUENCEINFOA
#define _Outptr_
Definition: no_sal2.h:396
UINT WINAPI MsiEnumRelatedProductsA(_In_ LPCSTR, _Reserved_ DWORD, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
UINT WINAPI MsiSourceListClearSourceW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR)
UINT WINAPI MsiConfigureProductW(_In_ LPCWSTR, _In_ int, _In_ INSTALLSTATE)
static const WCHAR INSTALLPROPERTY_TRANSFORMSW[]
Definition: msi.h:269
static const WCHAR INSTALLPROPERTY_REGCOMPANYW[]
Definition: msi.h:367
tagMSIINSTALLCONTEXT
Definition: msi.h:194
UINT WINAPI MsiGetFileVersionW(_In_ LPCWSTR, _Out_writes_opt_(*pcchVersionBuf) LPWSTR, _Inout_opt_ LPDWORD pcchVersionBuf, _Out_writes_opt_(*pcchLangBuf) LPWSTR, _Inout_opt_ LPDWORD pcchLangBuf)
tagINSTALLLOGATTRIBUTES
Definition: msi.h:154
UINT WINAPI MsiSourceListGetInfoW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
INSTALLSTATE WINAPI MsiUseFeatureExW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _Reserved_ DWORD)
INSTALLSTATE WINAPI MsiQueryFeatureStateA(_In_ LPCSTR, _In_ LPCSTR)
UINT WINAPI MsiOpenPackageA(_In_ LPCSTR, _Out_ MSIHANDLE *)
UINT WINAPI MsiEnumRelatedProductsW(_In_ LPCWSTR, _Reserved_ DWORD, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
WORD LANGID
Definition: typedefs.h:79
UINT WINAPI MsiBeginTransactionW(_In_ LPCWSTR, _In_ DWORD, _Out_ MSIHANDLE *, _Out_ HANDLE *)
INT(CALLBACK * INSTALLUI_HANDLER_RECORD)(LPVOID, UINT, MSIHANDLE)
Definition: msi.h:422
UINT WINAPI MsiReinstallProductW(_In_ LPCWSTR, _In_ DWORD)
enum tagUSERINFOSTATE USERINFOSTATE
UINT WINAPI MsiGetProductPropertyA(_In_ MSIHANDLE, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
char * LPSTR
Definition: xmlstorage.h:182
UINT WINAPI MsiDatabaseMergeA(MSIHANDLE, MSIHANDLE, LPCSTR)
Definition: database.c:1266
enum tagMSICODE MSICODE
UINT WINAPI MsiEnumProductsA(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
UINT WINAPI MsiCloseHandle(MSIHANDLE)
Definition: handle.c:270
UINT WINAPI MsiAdvertiseProductA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ LANGID)
static const WCHAR INSTALLPROPERTY_HELPTELEPHONEW[]
Definition: msi.h:323
UINT WINAPI MsiQueryFeatureStateExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_opt_ INSTALLSTATE *)
unsigned long MSIHANDLE
Definition: msiserver.idl:25
static const WCHAR INSTALLPROPERTY_LOCALPACKAGEW[]
Definition: msi.h:343
#define _In_opt_
Definition: no_sal2.h:213
static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW[]
Definition: msi.h:405
UINT WINAPI MsiOpenPackageW(_In_ LPCWSTR, _Out_ MSIHANDLE *)
static const WCHAR INSTALLPROPERTY_MOREINFOURLW[]
Definition: msi.h:400
enum tagINSTALLLOGATTRIBUTES INSTALLLOGATTRIBUTES
struct tagMSIPATCHSEQUENCEINFOW * PMSIPATCHSEQUENCEINFOW
INSTALLUILEVEL WINAPI MsiSetInternalUI(_In_ INSTALLUILEVEL, _Inout_opt_ HWND *)
UINT WINAPI MsiConfigureProductA(_In_ LPCSTR, _In_ int, _In_ INSTALLSTATE)
#define _Out_writes_(size)
Definition: no_sal2.h:367
UINT WINAPI MsiSourceListEnumSourcesW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchSource) LPWSTR, _Inout_opt_ LPDWORD pcchSource)
UINT WINAPI MsiInstallMissingComponentW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ INSTALLSTATE)
struct tagMSIPATCHSEQUENCEINFOW MSIPATCHSEQUENCEINFOW
tagINSTALLLOGMODE
Definition: msi.h:129
UINT WINAPI MsiEnableLogW(_In_ DWORD, _In_opt_ LPCWSTR, _In_ DWORD)
unsigned char * LPBYTE
Definition: typedefs.h:52
UINT WINAPI MsiEnumProductsExW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) WCHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPWSTR, _Inout_opt_ LPDWORD pcchSid)
INSTALLSTATE WINAPI MsiQueryFeatureStateW(_In_ LPCWSTR, _In_ LPCWSTR)
unsigned int BOOL
Definition: ntddk_ex.h:94
tagINSTALLFEATUREATTRIBUTE
Definition: msi.h:219
INSTALLSTATE WINAPI MsiGetComponentPathW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchBuf) LPWSTR, _Inout_opt_ LPDWORD pcchBuf)
#define MAX_FEATURE_CHARS
Definition: msi.h:257
UINT WINAPI MsiEnumClientsA(_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
INSTALLSTATE WINAPI MsiLocateComponentA(_In_ LPCSTR, _Out_writes_opt_(*pcchBuf) LPSTR, _Inout_opt_ LPDWORD pcchBuf)
UINT WINAPI MsiQueryFeatureStateExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_opt_ INSTALLSTATE *)
#define _Out_writes_bytes_opt_(a)
Definition: btrfs_drv.h:193
ULONG dwData[4]
Definition: msi.h:231
struct tagMSIPATCHSEQUENCEINFOA MSIPATCHSEQUENCEINFOA
UINT WINAPI MsiIsProductElevatedW(_In_ LPCWSTR, _Out_ BOOL *)
UINT WINAPI MsiSourceListGetInfoA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
#define _Out_
Definition: no_sal2.h:323
tagMSISOURCETYPE
Definition: msi.h:205
static const WCHAR INSTALLPROPERTY_DISKPROMPTW[]
Definition: msi.h:417
UINT WINAPI MsiEnumComponentQualifiersA(_In_ LPCSTR, _In_ DWORD, _Out_writes_(*pcchQualifierBuf) LPSTR, _Inout_ LPDWORD pcchQualifierBuf, _Out_writes_opt_(*pcchApplicationDataBuf) LPSTR, _Inout_opt_ LPDWORD pcchApplicationDataBuf)
UINT WINAPI MsiEnumComponentsW(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
tagINSTALLMESSAGE
Definition: msi.h:92
UINT WINAPI MsiProvideQualifiedComponentExA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _In_opt_ LPCSTR, _Reserved_ DWORD, _Reserved_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
UINT WINAPI MsiAdvertiseScriptW(_In_ LPCWSTR, _In_ DWORD, _In_opt_ PHKEY, _In_ BOOL)
UINT WINAPI MsiGetProductInfoA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
UINT WINAPI MsiEnumPatchesA(_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR, _Out_writes_(*pcchTransformsBuf) LPSTR, _Inout_ LPDWORD pcchTransformsBuf)
const char * LPCSTR
Definition: xmlstorage.h:183
INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(_In_opt_ INSTALLUI_HANDLERW, _In_ DWORD, _In_opt_ LPVOID)
UINT WINAPI MsiAdvertiseScriptA(_In_ LPCSTR, _In_ DWORD, _In_opt_ PHKEY, _In_ BOOL)
UINT WINAPI MsiIsProductElevatedA(_In_ LPCSTR, _Out_ BOOL *)
UINT WINAPI MsiEnumProductsExA(_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) CHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPSTR, _Inout_opt_ LPDWORD pcchSid)
UINT WINAPI MsiGetFeatureUsageA(_In_ LPCSTR, _In_ LPCSTR, _Out_opt_ LPDWORD, _Out_opt_ LPWORD)
enum tagMSIPATCHDATATYPE MSIPATCHDATATYPE
UINT WINAPI MsiProvideComponentW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPDWORD)
Definition: msi.c:4320
MSIPATCHDATATYPE ePatchDataType
Definition: msi.h:244
tagUSERINFOSTATE
Definition: msi.h:76
static const WCHAR INSTALLPROPERTY_VERSIONSTRINGW[]
Definition: msi.h:315
ULONG dwFileHashInfoSize
Definition: msi.h:230
static const WCHAR INSTALLPROPERTY_INSTANCETYPEW[]
Definition: msi.h:300
USERINFOSTATE WINAPI MsiGetUserInfoW(_In_ LPCWSTR, _Out_writes_opt_(*pcchUserNameBuf) LPWSTR, _Inout_opt_ LPDWORD pcchUserNameBuf, _Out_writes_opt_(*pcchOrgNameBuf) LPWSTR, _Inout_opt_ LPDWORD pcchOrgNameBuf, _Out_writes_opt_(*pcchSerialBuf) LPWSTR, _Inout_opt_ LPDWORD pcchSerialBuf)
ULONG MSIHANDLE
Definition: msi.h:32
#define _Out_opt_
Definition: no_sal2.h:339
UINT WINAPI MsiConfigureFeatureW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ INSTALLSTATE)
UINT WINAPI MsiGetProductPropertyW(_In_ MSIHANDLE, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
static const WCHAR INSTALLPROPERTY_PACKAGECODEW[]
Definition: msi.h:285
UINT WINAPI MsiCloseAllHandles(void)
Definition: handle.c:326
INSTALLUI_HANDLER_RECORD * PINSTALLUI_HANDLER_RECORD
Definition: msi.h:423
__wchar_t WCHAR
Definition: xmlstorage.h:180
enum tagREINSTALLMODE REINSTALLMODE
LONG HRESULT
Definition: typedefs.h:77
UINT WINAPI MsiGetPatchInfoExW(_In_ LPCWSTR, _In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
UINT WINAPI MsiAdvertiseProductExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LANGID, _In_ DWORD, _In_ DWORD)
UINT WINAPI MsiEnumComponentsExA(_In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) CHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPSTR, _Inout_opt_ LPDWORD pcchSid)
struct _MSIFILEHASHINFO MSIFILEHASHINFO
#define WINAPI
Definition: msvc.h:6
UINT WINAPI MsiApplyMultiplePatchesW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
static const WCHAR INSTALLPROPERTY_REGOWNERW[]
Definition: msi.h:371
unsigned short WORD
Definition: ntddk_ex.h:93
enum tagINSTALLLEVEL INSTALLLEVEL
UINT WINAPI MsiInstallProductA(_In_ LPCSTR, _In_opt_ LPCSTR)
unsigned long DWORD
Definition: ntddk_ex.h:95
UINT WINAPI MsiEndTransaction(_In_ DWORD)
#define _Inout_
Definition: no_sal2.h:244
static const WCHAR INSTALLPROPERTY_PRODUCTSTATEW[]
Definition: msi.h:380
UINT WINAPI MsiMessageBoxW(HWND, LPCWSTR, LPCWSTR, UINT, WORD, DWORD)
Definition: msi.c:2495
UINT WINAPI MsiReinstallFeatureW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD)
#define LPVOID
Definition: nt_native.h:45
UINT WINAPI MsiSourceListClearAllA(_In_ LPCSTR, _In_opt_ LPCSTR, _Reserved_ DWORD)
MSIPATCHDATATYPE ePatchDataType
Definition: msi.h:252
tagMSIPATCHSTATE
Definition: msi.h:51
#define _Reserved_
Definition: no_sal2.h:573
UINT WINAPI MsiSourceListAddMediaDiskW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
enum tagINSTALLFEATUREATTRIBUTE INSTALLFEATUREATTRIBUTE
UINT WINAPI MsiBeginTransactionA(_In_ LPCSTR, _In_ DWORD, _Out_ MSIHANDLE *, _Out_ HANDLE *)
UINT WINAPI MsiVerifyPackageW(_In_ LPCWSTR)
static const WCHAR INSTALLPROPERTY_PRODUCTICONW[]
Definition: msi.h:295
static const WCHAR L[]
Definition: oid.c:1250
UINT WINAPI MsiSourceListEnumSourcesA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchSource) LPSTR, _Inout_opt_ LPDWORD pcchSource)
enum tagMSISOURCETYPE MSISOURCETYPE
INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA(_In_opt_ INSTALLUI_HANDLERA, _In_ DWORD, _In_opt_ LPVOID)
static const WCHAR INSTALLPROPERTY_URLINFOABOUTW[]
Definition: msi.h:347
UINT WINAPI MsiSourceListClearSourceA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR)
UINT WINAPI MsiDeterminePatchSequenceA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOA)
UINT WINAPI MsiApplyMultiplePatchesA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
UINT WINAPI MsiOpenPackageExA(_In_ LPCSTR, _In_ DWORD, _Out_ MSIHANDLE *)
UINT WINAPI MsiEnumPatchesExW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR, _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchTargetUserSid) LPWSTR, _Inout_opt_ LPDWORD pcchTargetUserSid)
static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW[]
Definition: msi.h:409
static const WCHAR INSTALLPROPERTY_LANGUAGEW[]
Definition: msi.h:273
static const WCHAR INSTALLPROPERTY_INSTALLSOURCEW[]
Definition: msi.h:331
INSTALLSTATE WINAPI MsiUseFeatureA(_In_ LPCSTR, _In_ LPCSTR)
UINT WINAPI MsiGetProductInfoExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
UINT WINAPI MsiGetProductInfoW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
UINT WINAPI MsiQueryComponentStateA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_opt_ INSTALLSTATE *)
enum tagMSIPATCHDATATYPE * PMSIPATCHDATATYPE
UINT WINAPI MsiDetermineApplicablePatchesA(_In_ LPCSTR, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOA)
enum tagMSIPATCHSTATE MSIPATCHSTATE
static const WCHAR INSTALLPROPERTY_VERSIONMINORW[]
Definition: msi.h:355
UINT WINAPI MsiConfigureFeatureA(_In_ LPCSTR, _In_ LPCSTR, _In_ INSTALLSTATE)
UINT WINAPI MsiInstallMissingComponentA(_In_ LPCSTR, _In_ LPCSTR, _In_ INSTALLSTATE)
UINT WINAPI MsiCollectUserInfoW(_In_ LPCWSTR)
static const WCHAR INSTALLPROPERTY_PRODUCTNAMEW[]
Definition: msi.h:277
UINT WINAPI MsiGetPatchInfoA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
static const WCHAR INSTALLPROPERTY_INSTALLLOCATIONW[]
Definition: msi.h:327
INSTALLSTATE WINAPI MsiLocateComponentW(_In_ LPCWSTR, _Out_writes_opt_(*pcchBuf) LPWSTR, _Inout_opt_ LPDWORD pcchBuf)
UINT WINAPI MsiSourceListAddSourceW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _Reserved_ DWORD, _In_ LPCWSTR)
UINT WINAPI MsiSourceListEnumMediaDisksA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchVolumeLabel) LPSTR, _Inout_opt_ LPDWORD pcchVolumeLabel, _Out_writes_opt_(*pcchDiskPrompt) LPSTR, _Inout_opt_ LPDWORD pcchDiskPrompt)
uint16_t * LPWORD
Definition: typedefs.h:54
UINT WINAPI MsiMessageBoxA(HWND, LPCSTR, LPCSTR, UINT, WORD, DWORD)
Definition: msi.c:2487
#define _In_
Definition: no_sal2.h:204
UINT WINAPI MsiCollectUserInfoA(_In_ LPCSTR)
UINT WINAPI MsiEnumComponentCostsA(MSIHANDLE, LPCSTR, DWORD, INSTALLSTATE, LPSTR, LPDWORD, LPINT, LPINT)
INT(CALLBACK * INSTALLUI_HANDLERA)(LPVOID, UINT, LPCSTR)
Definition: msi.h:420
UINT WINAPI MsiEnumProductsW(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
enum tagADVERTISEFLAGS ADVERTISEFLAGS
int INSTALLSTATE
Definition: msiserver.idl:35
UINT WINAPI MsiAdvertiseProductExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ LANGID, _In_ DWORD, _In_ DWORD)
UINT WINAPI MsiEnumPatchesExA(_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR, _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchTargetUserSid) LPSTR, _Inout_opt_ LPDWORD pcchTargetUserSid)
INSTALLSTATE WINAPI MsiGetComponentPathA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchBuf) LPSTR, _Inout_opt_ LPDWORD pcchBuf)
UINT WINAPI MsiSourceListSetInfoW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _In_ LPCWSTR)
static const WCHAR INSTALLPROPERTY_DISPLAYNAMEW[]
Definition: msi.h:396
tagMSIPATCHDATATYPE
Definition: msi.h:234
tagINSTALLSTATE
Definition: msi.h:34
_In_ UINT _Out_writes_opt_(cch) LPSTR lpszFile
UINT WINAPI MsiEnumComponentsExW(_In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) WCHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPWSTR, _Inout_opt_ LPDWORD pcchSid)
UINT WINAPI MsiDetermineApplicablePatchesW(_In_ LPCWSTR, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOW)
enum tagINSTALLSTATE INSTALLSTATE
UINT WINAPI MsiEnableLogA(_In_ DWORD, _In_opt_ LPCSTR, _In_ DWORD)
LPCWSTR szPatchData
Definition: msi.h:251
INSTALLSTATE WINAPI MsiUseFeatureExA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _Reserved_ DWORD)
UINT WINAPI MsiConfigureProductExW(_In_ LPCWSTR, _In_ int, _In_ INSTALLSTATE, _In_opt_ LPCWSTR)
tagSCRIPTFLAGS
Definition: msi.h:175
unsigned int UINT
Definition: ndis.h:50
UINT WINAPI MsiEnumComponentsA(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
UINT WINAPI MsiSourceListClearAllW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _Reserved_ DWORD)
UINT WINAPI MsiInstallProductW(_In_ LPCWSTR, _In_opt_ LPCWSTR)
_In_ ULONG _In_ ULONG _Inout_updates_(8 *8) ULONG *pul)
Definition: winddi.h:3522
struct _MSIFILEHASHINFO * PMSIFILEHASHINFO
UINT WINAPI MsiProvidedComponentA(LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD)
UINT WINAPI MsiGetFileVersionA(_In_ LPCSTR, _Out_writes_opt_(*pcchVersionBuf) LPSTR, _Inout_opt_ LPDWORD pcchVersionBuf, _Out_writes_opt_(*pcchLangBuf) LPSTR, _Inout_opt_ LPDWORD pcchLangBuf)
UINT WINAPI MsiDeterminePatchSequenceW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOW)
static const WCHAR INSTALLPROPERTY_INSTALLEDPRODUCTNAMEW[]
Definition: msi.h:311
UINT WINAPI MsiConfigureProductExA(_In_ LPCSTR, _In_ int, _In_ INSTALLSTATE, _In_opt_ LPCSTR)
UINT WINAPI MsiDatabaseMergeW(MSIHANDLE, MSIHANDLE, LPCWSTR)
Definition: database.c:1937
uint32_t * LPDWORD
Definition: typedefs.h:57
enum tagINSTALLTYPE INSTALLTYPE
unsigned int ULONG
Definition: retypes.h:1
UINT WINAPI MsiProvideAssemblyA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
UINT WINAPI MsiApplyPatchW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ INSTALLTYPE, _In_opt_ LPCWSTR)
UINT WINAPI MsiGetFeatureInfoA(_In_ MSIHANDLE, _In_ LPCSTR, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchTitleBuf) LPSTR, _Inout_opt_ LPDWORD pcchTitleBuf, _Out_writes_opt_(*pcchHelpBuf) LPSTR, _Inout_opt_ LPDWORD pcchHelpBuf)
UINT WINAPI MsiGetFeatureInfoW(_In_ MSIHANDLE, _In_ LPCWSTR, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchTitleBuf) LPWSTR, _Inout_opt_ LPDWORD pcchTitleBuf, _Out_writes_opt_(*pcchHelpBuf) LPWSTR, _Inout_opt_ LPDWORD pcchHelpBuf)
UINT WINAPI MsiOpenPackageExW(_In_ LPCWSTR, _In_ DWORD, _Out_ MSIHANDLE *)
static const WCHAR INSTALLPROPERTY_VERSIONW[]
Definition: msi.h:289
enum tagSCRIPTFLAGS SCRIPTFLAGS
UINT WINAPI MsiApplyPatchA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ INSTALLTYPE, _In_opt_ LPCSTR)
INT(CALLBACK * INSTALLUI_HANDLERW)(LPVOID, UINT, LPCWSTR)
Definition: msi.h:421
tagMSICODE
Definition: msi.h:213
INSTALLSTATE WINAPI MsiUseFeatureW(_In_ LPCWSTR, _In_ LPCWSTR)
UINT WINAPI MsiOpenProductW(_In_ LPCWSTR, _Out_ MSIHANDLE *)
static const WCHAR INSTALLPROPERTY_PRODUCTIDW[]
Definition: msi.h:363
UINT WINAPI MsiSourceListEnumMediaDisksW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchVolumeLabel) LPWSTR, _Inout_opt_ LPDWORD pcchVolumeLabel, _Out_writes_opt_(*pcchDiskPrompt) LPWSTR, _Inout_opt_ LPDWORD pcchDiskPrompt)
static const WCHAR INSTALLPROPERTY_ASSIGNMENTTYPEW[]
Definition: msi.h:281
WCHAR * LPWSTR
Definition: xmlstorage.h:184
UINT WINAPI MsiReinstallProductA(_In_ LPCSTR, _In_ DWORD)
UINT WINAPI MsiQueryComponentStateW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_opt_ INSTALLSTATE *)
tagINSTALLLEVEL
Definition: msi.h:85
UINT WINAPI MsiGetPatchInfoExA(_In_ LPCSTR, _In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
UINT WINAPI MsiProvideQualifiedComponentA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
UINT WINAPI MsiProvideAssemblyW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
tagINSTALLMODE
Definition: msi.h:160
UINT WINAPI MsiSourceListSetInfoA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _In_ LPCSTR)
UINT WINAPI MsiProvideQualifiedComponentW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
HRESULT WINAPI MsiGetFileSignatureInformationA(_In_ LPCSTR, _In_ DWORD, _Outptr_ PCCERT_CONTEXT *, _Out_writes_bytes_opt_(*pcbHashData) LPBYTE, _Inout_opt_ LPDWORD pcbHashData)
enum tagINSTALLMESSAGE INSTALLMESSAGE
tagINSTALLUILEVEL
Definition: msi.h:62
UINT WINAPI MsiEnumComponentCostsW(MSIHANDLE, LPCWSTR, DWORD, INSTALLSTATE, LPWSTR, LPDWORD, LPINT, LPINT)
INSTALLSTATE WINAPI MsiQueryProductStateW(_In_ LPCWSTR)
UINT WINAPI MsiReinstallFeatureA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD)
static const WCHAR INSTALLPROPERTY_AUTHORIZED_LUA_APPW[]
Definition: msi.h:305
UINT WINAPI MsiEnumFeaturesW(_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_FEATURE_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPWSTR)
static const WCHAR INSTALLPROPERTY_VERSIONMAJORW[]
Definition: msi.h:359
#define _Inout_opt_
Definition: no_sal2.h:258
int * LPINT
Definition: windef.h:178
UINT WINAPI MsiSourceListAddSourceExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _In_ DWORD)