ReactOS 0.4.15-dev-7931-gfd331f1
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
29extern "C" {
30#endif
31
33
34typedef enum tagINSTALLSTATE
35{
50
51typedef enum tagMSIPATCHSTATE
52{
61
63{
75
76typedef enum tagUSERINFOSTATE
77{
84
85typedef enum tagINSTALLLEVEL
86{
91
93{
97 INSTALLMESSAGE_USER = 0x03000000,
98 INSTALLMESSAGE_INFO = 0x04000000,
113
115{
126 REINSTALLMODE_PACKAGE = 0x00000400
128
130{
153
155{
159
160typedef enum tagINSTALLMODE
161{
168
170{
174
175typedef enum tagSCRIPTFLAGS
176{
186
187typedef enum tagINSTALLTYPE
188{
193
195{
204
206{
209 MSISOURCETYPE_URL = 0x00000002L,
210 MSISOURCETYPE_MEDIA = 0x00000004L
212
213typedef enum tagMSICODE
214{
215 MSICODE_PRODUCT = 0x00000000L,
216 MSICODE_PATCH = 0x40000000L
218
220{
228
229typedef 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"
265static 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"
269static 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"
273static 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"
277static 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"
281static 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"
285static 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"
289static 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"
295static 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"
300static 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"
305static 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"
311static 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"
315static 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"
319static 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"
323static 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"
327static 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"
331static 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"
335static 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"
339static 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"
343static 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"
347static 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"
351static 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"
355static 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"
359static 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"
363static 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"
367static 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"
371static 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"
376static 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"
380static 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"
384static 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"
388static 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"
392static 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"
396static 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"
400static 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"
405static 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"
409static 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"
413static 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"
417static 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
425UINT
426WINAPI
428 _In_ LPCSTR,
431 _In_ LANGID);
432
433UINT
434WINAPI
439 _In_ LANGID);
440
441#define MsiAdvertiseProduct WINELIB_NAME_AW(MsiAdvertiseProduct)
442
443UINT
444WINAPI
446 _In_ LPCSTR,
449 _In_ LANGID,
450 _In_ DWORD,
451 _In_ DWORD);
452
453UINT
454WINAPI
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
473UINT
474WINAPI
476 _In_ LPCSTR,
480
481UINT
482WINAPI
488
489#define MsiApplyPatch WINELIB_NAME_AW(MsiApplyPatch)
490
493#define MsiEnumComponentCosts WINELIB_NAME_AW(MsiEnumComponentCosts)
494
495UINT
496WINAPI
498 _In_ DWORD,
500
501UINT
502WINAPI
504 _In_ DWORD,
506
507#define MsiEnumProducts WINELIB_NAME_AW(MsiEnumProducts)
508
509UINT
510WINAPI
514 _In_ DWORD,
515 _In_ DWORD,
518 _Out_writes_opt_(*pcchSid) LPSTR,
519 _Inout_opt_ LPDWORD pcchSid);
520
521UINT
522WINAPI
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
535UINT
536WINAPI
538 _In_ LPCSTR,
539 _In_ DWORD,
542
543UINT
544WINAPI
547 _In_ DWORD,
550
551#define MsiEnumFeatures WINELIB_NAME_AW(MsiEnumFeatures)
552
553UINT
554WINAPI
556 _In_ DWORD,
558
559UINT
560WINAPI
562 _In_ DWORD,
564
565#define MsiEnumComponents WINELIB_NAME_AW(MsiEnumComponents)
566
567UINT
568WINAPI
571 _In_ DWORD,
572 _In_ DWORD,
575 _Out_writes_opt_(*pcchSid) LPSTR,
576 _Inout_opt_ LPDWORD pcchSid);
577
578UINT
579WINAPI
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
591UINT
592WINAPI
594 _In_ LPCSTR,
595 _In_ DWORD,
597
598UINT
599WINAPI
602 _In_ DWORD,
604
605#define MsiEnumClients WINELIB_NAME_AW(MsiEnumClients)
606
607UINT WINAPI MsiEnumClientsExA(_In_ LPCSTR szComponent, _In_opt_ LPCSTR szUserSid, _In_ DWORD dwContext, _In_ DWORD dwProductIndex, _Out_opt_ CHAR szProductBuf[39], _Out_opt_ MSIINSTALLCONTEXT* pdwInstalledContext, _Out_opt_ LPSTR szSid, _Inout_opt_ LPDWORD pcchSid);
608UINT WINAPI MsiEnumClientsExW(_In_ LPCWSTR szComponent, _In_opt_ LPCWSTR szUserSid, _In_ DWORD dwContext, _In_ DWORD dwProductIndex, _Out_opt_ WCHAR szProductBuf[39], _Out_opt_ MSIINSTALLCONTEXT* pdwInstalledContext, _Out_opt_ LPWSTR szSid, _Inout_opt_ LPDWORD pcchSid);
609#define MsiEnumClientsEx WINELIB_NAME_AW(MsiEnumClientsEx)
610
613#define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
614
617#define MsiOpenPackageEx WINELIB_NAME_AW(MsiOpenPackageEx)
618
621#define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
622
623UINT
624WINAPI
627 _In_ LPCSTR,
628 _Out_writes_opt_(*pcchValueBuf) LPSTR,
629 _Inout_opt_ LPDWORD pcchValueBuf);
630
631UINT
632WINAPI
636 _Out_writes_opt_(*pcchValueBuf) LPWSTR,
637 _Inout_opt_ LPDWORD pcchValueBuf);
638
639#define MsiGetProductProperty WINELIB_NAME_AW(MsiGetProductProperty)
640
643#define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
644
645UINT
646WINAPI
648 _In_ LPCSTR,
651 _In_ LPCSTR,
653
654UINT
655WINAPI
662
663#define MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState)
664
667#define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
668
671#define MsiConfigureProduct WINELIB_NAME_AW(MsiConfigureProduct)
672
673UINT
674WINAPI
676 _In_ LPCSTR,
677 _In_ int,
680
681UINT
682WINAPI
685 _In_ int,
688
689#define MsiConfigureProductEx WINELIB_NAME_AW(MsiConfigureProductEx)
690
691UINT
692WINAPI
694 _In_ LPCSTR,
695 _In_ LPCSTR,
697
698UINT
699WINAPI
704
705#define MsiConfigureFeature WINELIB_NAME_AW(MsiConfigureFeature)
706
707UINT
708WINAPI
710 _In_ LPCSTR,
712
713UINT
714WINAPI
718
719#define MsiGetProductCode WINELIB_NAME_AW(MsiGetProductCode)
720
721UINT
722WINAPI
724 _In_ LPCSTR,
725 _In_ LPCSTR,
726 _Out_writes_opt_(*pcchValueBuf) LPSTR,
727 _Inout_opt_ LPDWORD pcchValueBuf);
728
729UINT
730WINAPI
734 _Out_writes_opt_(*pcchValueBuf) LPWSTR,
735 _Inout_opt_ LPDWORD pcchValueBuf);
736
737#define MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo)
738
739UINT
740WINAPI
742 _In_ LPCSTR,
745 _In_ LPCSTR,
746 _Out_writes_opt_(*pcchValue) LPSTR,
747 _Inout_opt_ LPDWORD pcchValue);
748
749UINT
750WINAPI
756 _Out_writes_opt_(*pcchValue) LPWSTR,
757 _Inout_opt_ LPDWORD pcchValue);
758
759#define MsiGetProductInfoEx WINELIB_NAME_AW(MsiGetProductInfoEx)
760
761UINT
762WINAPI
764 _In_ LPCSTR,
765 _In_ LPCSTR,
768 _In_ LPCSTR,
769 _Out_writes_opt_(*pcchValue) LPSTR,
770 _Inout_opt_ LPDWORD pcchValue);
771
772UINT
773WINAPI
780 _Out_writes_opt_(*pcchValue) LPWSTR,
781 _Inout_opt_ LPDWORD pcchValue);
782
783#define MsiGetPatchInfoEx WINELIB_NAME_AW(MsiGetPatchInfoEx)
784
785UINT
786WINAPI
788 _In_ LPCSTR,
789 _In_ LPCSTR,
790 _Out_writes_opt_(*pcchValueBuf) LPSTR,
791 _Inout_opt_ LPDWORD pcchValueBuf);
792
793UINT
794WINAPI
798 _Out_writes_opt_(*pcchValueBuf) LPWSTR,
799 _Inout_opt_ LPDWORD pcchValueBuf);
800
801#define MsiGetPatchInfo WINELIB_NAME_AW(MsiGetPatchInfo)
802
805#define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
806
808WINAPI
811 _In_ DWORD,
813
815WINAPI
818 _In_ DWORD,
820
821#define MsiSetExternalUI WINELIB_NAME_AW(MsiSetExternalUI)
822
824WINAPI
826 _In_ LPCSTR,
827 _In_ LPCSTR,
828 _Out_writes_opt_(*pcchBuf) LPSTR,
829 _Inout_opt_ LPDWORD pcchBuf);
830
832WINAPI
836 _Out_writes_opt_(*pcchBuf) LPWSTR,
837 _Inout_opt_ LPDWORD pcchBuf);
838
839#define MsiGetComponentPath WINELIB_NAME_AW(MsiGetComponentPath)
840
843#define MsiQueryFeatureState WINELIB_NAME_AW(MsiQueryFeatureState)
844
845UINT
846WINAPI
848 _In_ LPCSTR,
851 _In_ LPCSTR,
853
854UINT
855WINAPI
862
863#define MsiQueryFeatureStateEx WINELIB_NAME_AW(MsiQueryFeatureStateEx)
864
865UINT
866WINAPI
869 _In_ LPCSTR,
871 _Out_writes_opt_(*pcchTitleBuf) LPSTR,
872 _Inout_opt_ LPDWORD pcchTitleBuf,
873 _Out_writes_opt_(*pcchHelpBuf) LPSTR,
874 _Inout_opt_ LPDWORD pcchHelpBuf);
875
876UINT
877WINAPI
882 _Out_writes_opt_(*pcchTitleBuf) LPWSTR,
883 _Inout_opt_ LPDWORD pcchTitleBuf,
884 _Out_writes_opt_(*pcchHelpBuf) LPWSTR,
885 _Inout_opt_ LPDWORD pcchHelpBuf);
886
887#define MsiGetFeatureInfo WINELIB_NAME_AW(MsiGetFeatureInfo)
888
889UINT
890WINAPI
892 _In_ LPCSTR,
893 _In_ LPCSTR,
896
897UINT
898WINAPI
904
905#define MsiGetFeatureUsage WINELIB_NAME_AW(MsiGetFeatureUsage)
906
907UINT
908WINAPI
910 _In_ LPCSTR,
912 _In_ DWORD,
914
915UINT
916WINAPI
920 _In_ DWORD,
922
923#define MsiEnumRelatedProducts WINELIB_NAME_AW(MsiEnumRelatedProducts)
924
925UINT
926WINAPI
928 _In_ LPCSTR,
930 _In_ DWORD,
931 _In_ DWORD,
932 _Out_writes_opt_(*pcchPathBuf) LPSTR,
933 _Inout_opt_ LPDWORD pcchPathBuf);
934
935UINT
936WINAPI
940 _In_ DWORD,
941 _In_ DWORD,
942 _Out_writes_opt_(*pcchPathBuf) LPWSTR,
943 _Inout_opt_ LPDWORD pcchPathBuf);
944
945#define MsiProvideAssembly WINELIB_NAME_AW(MsiProvideAssembly)
946
947UINT
948WINAPI
950 _In_ LPCSTR,
951 _In_ DWORD,
952 _Out_writes_(*pcchQualifierBuf) LPSTR,
953 _Inout_ LPDWORD pcchQualifierBuf,
954 _Out_writes_opt_(*pcchApplicationDataBuf) LPSTR,
955 _Inout_opt_ LPDWORD pcchApplicationDataBuf);
956
957UINT
958WINAPI
961 _In_ DWORD,
962 _Out_writes_(*pcchQualifierBuf) LPWSTR,
963 _Inout_ LPDWORD pcchQualifierBuf,
964 _Out_writes_opt_(*pcchApplicationDataBuf) LPWSTR,
965 _Inout_opt_ LPDWORD pcchApplicationDataBuf);
966
967#define MsiEnumComponentQualifiers WINELIB_NAME_AW(MsiEnumComponentQualifiers)
968
969UINT
970WINAPI
972 _In_ LPCSTR,
973 _Out_writes_opt_(*pcchVersionBuf) LPSTR,
974 _Inout_opt_ LPDWORD pcchVersionBuf,
975 _Out_writes_opt_(*pcchLangBuf) LPSTR,
976 _Inout_opt_ LPDWORD pcchLangBuf);
977
978UINT
979WINAPI
982 _Out_writes_opt_(*pcchVersionBuf) LPWSTR,
983 _Inout_opt_ LPDWORD pcchVersionBuf,
984 _Out_writes_opt_(*pcchLangBuf) LPWSTR,
985 _Inout_opt_ LPDWORD pcchLangBuf);
986
987#define MsiGetFileVersion WINELIB_NAME_AW(MsiGetFileVersion)
988
991#define MsiMessageBox WINELIB_NAME_AW(MsiMessageBox)
992
993UINT
994WINAPI
996 _In_ LPCSTR,
997 _In_ LPCSTR,
998 _In_ DWORD,
1002 _Out_writes_opt_(*pcchPathBuf) LPSTR,
1003 _Inout_opt_ LPDWORD pcchPathBuf);
1004
1005UINT
1006WINAPI
1008 _In_ LPCWSTR,
1009 _In_ LPCWSTR,
1010 _In_ DWORD,
1014 _Out_writes_opt_(*pcchPathBuf) LPWSTR,
1015 _Inout_opt_ LPDWORD pcchPathBuf);
1016
1017#define MsiProvideQualifiedComponentEx WINELIB_NAME_AW(MsiProvideQualifiedComponentEx)
1018
1019UINT
1020WINAPI
1022 _In_ LPCSTR,
1023 _In_ LPCSTR,
1024 _In_ DWORD,
1025 _Out_writes_opt_(*pcchPathBuf) LPSTR,
1026 _Inout_opt_ LPDWORD pcchPathBuf);
1027
1028UINT
1029WINAPI
1031 _In_ LPCWSTR,
1032 _In_ LPCWSTR,
1033 _In_ DWORD,
1034 _Out_writes_opt_(*pcchPathBuf) LPWSTR,
1035 _Inout_opt_ LPDWORD pcchPathBuf);
1036
1037#define MsiProvideQualifiedComponent WINELIB_NAME_AW(MsiProvideQualifiedComponent)
1038
1040WINAPI
1042 _In_ LPCSTR,
1043 _Out_writes_opt_(*pcchUserNameBuf) LPSTR,
1044 _Inout_opt_ LPDWORD pcchUserNameBuf,
1045 _Out_writes_opt_(*pcchOrgNameBuf) LPSTR,
1046 _Inout_opt_ LPDWORD pcchOrgNameBuf,
1047 _Out_writes_opt_(*pcchSerialBuf) LPSTR,
1048 _Inout_opt_ LPDWORD pcchSerialBuf);
1049
1051WINAPI
1053 _In_ LPCWSTR,
1054 _Out_writes_opt_(*pcchUserNameBuf) LPWSTR,
1055 _Inout_opt_ LPDWORD pcchUserNameBuf,
1056 _Out_writes_opt_(*pcchOrgNameBuf) LPWSTR,
1057 _Inout_opt_ LPDWORD pcchOrgNameBuf,
1058 _Out_writes_opt_(*pcchSerialBuf) LPWSTR,
1059 _Inout_opt_ LPDWORD pcchSerialBuf);
1060
1061#define MsiGetUserInfo WINELIB_NAME_AW(MsiGetUserInfo)
1062
1065#define MsiProvideComponent WINELIB_NAME_AW(MsiProvideComponent)
1066
1069#define MsiCollectUserInfo WINELIB_NAME_AW(MsiCollectUserInfo)
1070
1073#define MsiReinstallFeature WINELIB_NAME_AW(MsiReinstallFeature)
1074
1075UINT
1076WINAPI
1078 _In_ LPCSTR,
1082
1083UINT
1084WINAPI
1086 _In_ LPCWSTR,
1090
1091#define MsiGetShortcutTarget WINELIB_NAME_AW(MsiGetShortcutTarget)
1092
1095#define MsiUseFeature WINELIB_NAME_AW(MsiUseFeature)
1096
1098WINAPI
1100 _In_ LPCWSTR,
1101 _In_ LPCWSTR,
1102 _In_ DWORD,
1104
1106WINAPI
1108 _In_ LPCSTR,
1109 _In_ LPCSTR,
1110 _In_ DWORD,
1112
1113#define MsiUseFeatureEx WINELIB_NAME_AW(MsiUseFeatureEx)
1114
1115HRESULT
1116WINAPI
1118 _In_ LPCSTR,
1119 _In_ DWORD,
1121 _Out_writes_bytes_opt_(*pcbHashData) LPBYTE,
1122 _Inout_opt_ LPDWORD pcbHashData);
1123
1124HRESULT
1125WINAPI
1127 _In_ LPCWSTR,
1128 _In_ DWORD,
1130 _Out_writes_bytes_opt_(*pcbHashData) LPBYTE,
1131 _Inout_opt_ LPDWORD pcbHashData);
1132
1133#define MsiGetFileSignatureInformation WINELIB_NAME_AW(MsiGetFileSignatureInformation)
1134
1136WINAPI
1138 _In_ LPCSTR,
1139 _Out_writes_opt_(*pcchBuf) LPSTR,
1140 _Inout_opt_ LPDWORD pcchBuf);
1141
1143WINAPI
1145 _In_ LPCWSTR,
1146 _Out_writes_opt_(*pcchBuf) LPWSTR,
1147 _Inout_opt_ LPDWORD pcchBuf);
1148
1149#define MsiLocateComponent WINELIB_NAME_AW(MsiLocateComponent)
1150
1151UINT
1152WINAPI
1154 _In_ LPCSTR,
1157 _In_ LPCSTR);
1158
1159UINT
1160WINAPI
1162 _In_ LPCWSTR,
1165 _In_ LPCWSTR);
1166
1167#define MsiSourceListAddSource WINELIB_NAME_AW(MsiSourceListAddSource)
1168
1169UINT
1170WINAPI
1172 _In_ LPCSTR,
1175 _In_ DWORD,
1176 _In_ DWORD,
1178 _Out_writes_opt_(*pcchVolumeLabel) LPSTR,
1179 _Inout_opt_ LPDWORD pcchVolumeLabel,
1180 _Out_writes_opt_(*pcchDiskPrompt) LPSTR,
1181 _Inout_opt_ LPDWORD pcchDiskPrompt);
1182
1183UINT
1184WINAPI
1186 _In_ LPCWSTR,
1189 _In_ DWORD,
1190 _In_ DWORD,
1192 _Out_writes_opt_(*pcchVolumeLabel) LPWSTR,
1193 _Inout_opt_ LPDWORD pcchVolumeLabel,
1194 _Out_writes_opt_(*pcchDiskPrompt) LPWSTR,
1195 _Inout_opt_ LPDWORD pcchDiskPrompt);
1196
1197#define MsiSourceListEnumMediaDisks WINELIB_NAME_AW(MsiSourceListEnumMediaDisks)
1198
1199UINT
1200WINAPI
1202 _In_ LPCSTR,
1205 _In_ DWORD,
1206 _In_ DWORD,
1207 _Out_writes_opt_(*pcchSource) LPSTR,
1208 _Inout_opt_ LPDWORD pcchSource);
1209
1210UINT
1211WINAPI
1213 _In_ LPCWSTR,
1216 _In_ DWORD,
1217 _In_ DWORD,
1218 _Out_writes_opt_(*pcchSource) LPWSTR,
1219 _Inout_opt_ LPDWORD pcchSource);
1220
1221#define MsiSourceListEnumSources WINELIB_NAME_AW(MsiSourceListEnumSources)
1222
1223UINT
1224WINAPI
1226 _In_ LPCSTR,
1229 _In_ DWORD,
1230 _In_ LPCSTR);
1231
1232UINT
1233WINAPI
1235 _In_ LPCWSTR,
1238 _In_ DWORD,
1239 _In_ LPCWSTR);
1240
1241#define MsiSourceListClearSource WINELIB_NAME_AW(MsiSourceListClearSource)
1242
1243UINT
1244WINAPI
1246 _In_ LPCSTR,
1249
1250UINT
1251WINAPI
1253 _In_ LPCWSTR,
1256
1257#define MsiSourceListClearAll WINELIB_NAME_AW(MsiSourceListClearAll)
1258
1259UINT
1260WINAPI
1262 _In_ LPCSTR,
1265 _In_ DWORD,
1266 _In_ LPCSTR,
1267 _Out_writes_opt_(*pcchValue) LPSTR,
1268 _Inout_opt_ LPDWORD pcchValue);
1269
1270UINT
1271WINAPI
1273 _In_ LPCWSTR,
1276 _In_ DWORD,
1277 _In_ LPCWSTR,
1278 _Out_writes_opt_(*pcchValue) LPWSTR,
1279 _Inout_opt_ LPDWORD pcchValue);
1280
1281#define MsiSourceListGetInfo WINELIB_NAME_AW(MsiSourceListGetInfo)
1282
1283UINT
1284WINAPI
1286 _In_ LPCSTR,
1289 _In_ DWORD,
1290 _In_ LPCSTR,
1291 _In_ LPCSTR);
1292
1293UINT
1294WINAPI
1296 _In_ LPCWSTR,
1299 _In_ DWORD,
1300 _In_ LPCWSTR,
1301 _In_ LPCWSTR);
1302
1303#define MsiSourceListSetInfo WINELIB_NAME_AW(MsiSourceListSetInfo)
1304
1305UINT
1306WINAPI
1308 _In_ LPCSTR,
1311 _In_ DWORD,
1312 _In_ LPCSTR,
1313 _In_ DWORD);
1314
1315UINT
1316WINAPI
1318 _In_ LPCWSTR,
1321 _In_ DWORD,
1322 _In_ LPCWSTR,
1323 _In_ DWORD);
1324
1325#define MsiSourceListAddSourceEx WINELIB_NAME_AW(MsiSourceListAddSourceEx)
1326
1327UINT
1328WINAPI
1330 _In_ LPCSTR,
1333 _In_ DWORD,
1334 _In_ DWORD,
1337
1338UINT
1339WINAPI
1341 _In_ LPCWSTR,
1344 _In_ DWORD,
1345 _In_ DWORD,
1348
1349#define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk)
1350
1353#define MsiSourceListForceResolution WINELIB_NAME_AW(MsiSourceListForceResolution)
1354
1355UINT
1356WINAPI
1358 _In_ LPCSTR,
1359 _In_ DWORD,
1361 _Out_writes_(*pcchTransformsBuf) LPSTR,
1362 _Inout_ LPDWORD pcchTransformsBuf);
1363
1364UINT
1365WINAPI
1367 _In_ LPCWSTR,
1368 _In_ DWORD,
1370 _Out_writes_(*pcchTransformsBuf) LPWSTR,
1371 _Inout_ LPDWORD pcchTransformsBuf);
1372
1373#define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches)
1374
1375UINT
1376WINAPI
1380 _In_ DWORD,
1381 _In_ DWORD,
1382 _In_ DWORD,
1386 _Out_writes_opt_(*pcchTargetUserSid) LPSTR,
1387 _Inout_opt_ LPDWORD pcchTargetUserSid);
1388
1389UINT
1390WINAPI
1394 _In_ DWORD,
1395 _In_ DWORD,
1396 _In_ DWORD,
1400 _Out_writes_opt_(*pcchTargetUserSid) LPWSTR,
1401 _Inout_opt_ LPDWORD pcchTargetUserSid);
1402
1403#define MsiEnumPatchesEx WINELIB_NAME_AW(MsiEnumPatchesEx)
1404
1405UINT
1406WINAPI
1408 _In_ LPCSTR,
1409 _In_ DWORD,
1411
1412UINT
1413WINAPI
1415 _In_ LPCWSTR,
1416 _In_ DWORD,
1418
1419#define MsiGetFileHash WINELIB_NAME_AW(MsiGetFileHash)
1420
1421UINT
1422WINAPI
1424 _In_ LPCSTR,
1425 _In_ DWORD,
1427 _In_ BOOL);
1428
1429UINT
1430WINAPI
1432 _In_ LPCWSTR,
1433 _In_ DWORD,
1435 _In_ BOOL);
1436
1437#define MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript)
1438
1441#define MsiIsProductElevated WINELIB_NAME_AW(MsiIsProductElevated)
1442
1445#define MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge)
1446
1447UINT
1448WINAPI
1450 _In_ LPCSTR,
1451 _In_ LPCSTR,
1453
1454UINT
1455WINAPI
1457 _In_ LPCWSTR,
1458 _In_ LPCWSTR,
1460
1461#define MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent)
1462
1463UINT
1464WINAPI
1466 _In_ LPCSTR,
1467 _In_ DWORD cPatchInfo,
1469
1470UINT
1471WINAPI
1473 _In_ LPCWSTR,
1474 _In_ DWORD cPatchInfo,
1476
1477#define MsiDetermineApplicablePatches WINELIB_NAME_AW(MsiDetermineApplicablePatches)
1478
1479UINT
1480WINAPI
1482 _In_ LPCSTR,
1485 _In_ DWORD cPatchInfo,
1487
1488UINT
1489WINAPI
1491 _In_ LPCWSTR,
1494 _In_ DWORD cPatchInfo,
1496
1497#define MsiDeterminePatchSequence WINELIB_NAME_AW(MsiDeterminePatchSequence)
1498
1499UINT
1500WINAPI
1502 _In_ LPCSTR,
1505
1506UINT
1507WINAPI
1509 _In_ LPCWSTR,
1512
1513#define MsiApplyMultiplePatches WINELIB_NAME_AW(MsiApplyMultiplePatches)
1514
1515UINT
1516WINAPI
1518 _In_ LPCSTR,
1519 _In_ DWORD,
1520 _Out_ MSIHANDLE *,
1521 _Out_ HANDLE *);
1522
1523UINT
1524WINAPI
1526 _In_ LPCWSTR,
1527 _In_ DWORD,
1528 _Out_ MSIHANDLE *,
1529 _Out_ HANDLE *);
1530
1531#define MsiBeginTransaction WINELIB_NAME_AW(MsiBeginTransaction)
1532
1534
1535/* Non Unicode */
1539
1540UINT
1541WINAPI
1544 _In_ DWORD,
1547
1548#ifdef __cplusplus
1549}
1550#endif
1551
1552#endif /* __WINE_MSI_H */
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
USHORT LANGID
Definition: mui.h:9
#define _Out_opt_
Definition: ms_sal.h:346
#define _Inout_
Definition: ms_sal.h:378
#define _Inout_updates_(size)
Definition: ms_sal.h:387
#define _Outptr_
Definition: ms_sal.h:427
#define _Out_writes_(size)
Definition: ms_sal.h:348
#define _Out_writes_opt_(size)
Definition: ms_sal.h:349
#define _Inout_opt_
Definition: ms_sal.h:379
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define _Reserved_
Definition: ms_sal.h:295
#define _Out_writes_bytes_opt_(size)
Definition: ms_sal.h:351
UINT WINAPI MsiReinstallProductW(_In_ LPCWSTR, _In_ DWORD)
UINT WINAPI MsiSourceListAddSourceExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _In_ DWORD)
struct tagMSIPATCHSEQUENCEINFOA * PMSIPATCHSEQUENCEINFOA
UINT WINAPI MsiGetFeatureUsageW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_opt_ LPDWORD, _Out_opt_ LPWORD)
UINT WINAPI MsiSourceListSetInfoW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _In_ LPCWSTR)
static const WCHAR INSTALLPROPERTY_PACKAGENAMEW[]
Definition: msi.h:265
static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW[]
Definition: msi.h:409
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)
static const WCHAR INSTALLPROPERTY_INSTALLEDPRODUCTNAMEW[]
Definition: msi.h:311
tagMSIPATCHSTATE
Definition: msi.h:52
@ MSIPATCHSTATE_ALL
Definition: msi.h:58
@ MSIPATCHSTATE_APPLIED
Definition: msi.h:54
@ MSIPATCHSTATE_SUPERSEDED
Definition: msi.h:55
@ MSIPATCHSTATE_OBSOLETED
Definition: msi.h:56
@ MSIPATCHSTATE_REGISTERED
Definition: msi.h:57
@ MSIPATCHSTATE_INVALID
Definition: msi.h:53
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)
UINT WINAPI MsiEnumFeaturesW(_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_FEATURE_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPWSTR)
UINT WINAPI MsiGetFeatureUsageA(_In_ LPCSTR, _In_ LPCSTR, _Out_opt_ LPDWORD, _Out_opt_ LPWORD)
static const WCHAR INSTALLPROPERTY_PRODUCTSTATEW[]
Definition: msi.h:380
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)
INSTALLSTATE WINAPI MsiLocateComponentA(_In_ LPCSTR, _Out_writes_opt_(*pcchBuf) LPSTR, _Inout_opt_ LPDWORD pcchBuf)
UINT WINAPI MsiGetFileHashA(_In_ LPCSTR, _In_ DWORD, _Inout_ PMSIFILEHASHINFO)
enum tagMSIINSTALLCONTEXT MSIINSTALLCONTEXT
Definition: action.c:49
UINT WINAPI MsiEnumProductsW(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
UINT WINAPI MsiDetermineApplicablePatchesW(_In_ LPCWSTR, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOW)
UINT WINAPI MsiAdvertiseScriptA(_In_ LPCSTR, _In_ DWORD, _In_opt_ PHKEY, _In_ BOOL)
enum tagINSTALLTYPE INSTALLTYPE
INSTALLSTATE WINAPI MsiLocateComponentW(_In_ LPCWSTR, _Out_writes_opt_(*pcchBuf) LPWSTR, _Inout_opt_ LPDWORD pcchBuf)
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)
enum tagMSIPATCHSTATE MSIPATCHSTATE
HRESULT WINAPI MsiGetFileSignatureInformationW(_In_ LPCWSTR, _In_ DWORD, _Outptr_ PCCERT_CONTEXT *, _Out_writes_bytes_opt_(*pcbHashData) LPBYTE, _Inout_opt_ LPDWORD pcbHashData)
UINT WINAPI MsiEndTransaction(_In_ DWORD)
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 MsiAdvertiseProductA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ LANGID)
UINT WINAPI MsiVerifyPackageW(_In_ LPCWSTR)
UINT WINAPI MsiGetProductPropertyA(_In_ MSIHANDLE, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
UINT WINAPI MsiQueryComponentStateW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_opt_ INSTALLSTATE *)
UINT WINAPI MsiGetProductInfoExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
UINT WINAPI MsiGetPatchInfoA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
static const WCHAR INSTALLPROPERTY_MEDIAPACKAGEPATHW[]
Definition: msi.h:413
UINT WINAPI MsiEnumClientsExA(_In_ LPCSTR szComponent, _In_opt_ LPCSTR szUserSid, _In_ DWORD dwContext, _In_ DWORD dwProductIndex, _Out_opt_ CHAR szProductBuf[39], _Out_opt_ MSIINSTALLCONTEXT *pdwInstalledContext, _Out_opt_ LPSTR szSid, _Inout_opt_ LPDWORD pcchSid)
UINT WINAPI MsiConfigureProductExW(_In_ LPCWSTR, _In_ int, _In_ INSTALLSTATE, _In_opt_ LPCWSTR)
enum tagINSTALLSTATE INSTALLSTATE
INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA(_In_opt_ INSTALLUI_HANDLERA, _In_ DWORD, _In_opt_ LPVOID)
tagINSTALLLOGATTRIBUTES
Definition: msi.h:155
@ INSTALLLOGATTRIBUTES_FLUSHEACHLINE
Definition: msi.h:157
@ INSTALLLOGATTRIBUTES_APPEND
Definition: msi.h:156
UINT WINAPI MsiEnumClientsW(_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
UINT WINAPI MsiMessageBoxW(HWND, LPCWSTR, LPCWSTR, UINT, WORD, DWORD)
UINT WINAPI MsiSourceListAddMediaDiskA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
tagADVERTISEFLAGS
Definition: msi.h:170
@ ADVERTISEFLAGS_USERASSIGN
Definition: msi.h:172
@ ADVERTISEFLAGS_MACHINEASSIGN
Definition: msi.h:171
INSTALLSTATE WINAPI MsiQueryFeatureStateW(_In_ LPCWSTR, _In_ LPCWSTR)
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 MsiProvideComponentW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPDWORD)
UINT WINAPI MsiConfigureProductExA(_In_ LPCSTR, _In_ int, _In_ INSTALLSTATE, _In_opt_ LPCSTR)
UINT WINAPI MsiEnumComponentCostsA(MSIHANDLE, LPCSTR, DWORD, INSTALLSTATE, LPSTR, LPDWORD, LPINT, LPINT)
static const WCHAR INSTALLPROPERTY_AUTHORIZED_LUA_APPW[]
Definition: msi.h:305
UINT WINAPI MsiIsProductElevatedW(_In_ LPCWSTR, _Out_ BOOL *)
static const WCHAR INSTALLPROPERTY_INSTALLLOCATIONW[]
Definition: msi.h:327
static const WCHAR INSTALLPROPERTY_TRANSFORMSW[]
Definition: msi.h:269
UINT WINAPI MsiAdvertiseProductExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LANGID, _In_ DWORD, _In_ DWORD)
UINT WINAPI MsiSourceListEnumSourcesA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchSource) LPSTR, _Inout_opt_ LPDWORD pcchSource)
UINT WINAPI MsiOpenPackageA(_In_ LPCSTR, _Out_ MSIHANDLE *)
UINT WINAPI MsiBeginTransactionW(_In_ LPCWSTR, _In_ DWORD, _Out_ MSIHANDLE *, _Out_ HANDLE *)
enum tagREINSTALLMODE REINSTALLMODE
UINT WINAPI MsiSourceListSetInfoA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _In_ LPCSTR)
UINT WINAPI MsiSourceListAddSourceW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _Reserved_ DWORD, _In_ LPCWSTR)
UINT WINAPI MsiConfigureProductW(_In_ LPCWSTR, _In_ int, _In_ INSTALLSTATE)
UINT WINAPI MsiProvideAssemblyA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
UINT WINAPI MsiApplyMultiplePatchesW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
UINT WINAPI MsiIsProductElevatedA(_In_ LPCSTR, _Out_ BOOL *)
UINT WINAPI MsiDatabaseMergeA(MSIHANDLE, MSIHANDLE, LPCSTR)
UINT WINAPI MsiSourceListGetInfoA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
UINT WINAPI MsiApplyMultiplePatchesA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
UINT WINAPI MsiDatabaseMergeW(MSIHANDLE, MSIHANDLE, LPCWSTR)
UINT WINAPI MsiEnumClientsA(_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
UINT WINAPI MsiEnumPatchesA(_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR, _Out_writes_(*pcchTransformsBuf) LPSTR, _Inout_ LPDWORD pcchTransformsBuf)
UINT WINAPI MsiSourceListClearSourceA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR)
static const WCHAR INSTALLPROPERTY_PACKAGECODEW[]
Definition: msi.h:285
UINT WINAPI MsiAdvertiseScriptW(_In_ LPCWSTR, _In_ DWORD, _In_opt_ PHKEY, _In_ BOOL)
UINT WINAPI MsiCloseHandle(MSIHANDLE)
Definition: handle.c:269
UINT WINAPI MsiConfigureFeatureW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ INSTALLSTATE)
struct _MSIFILEHASHINFO MSIFILEHASHINFO
UINT WINAPI MsiApplyPatchA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ INSTALLTYPE, _In_opt_ LPCSTR)
enum tagMSIPATCHDATATYPE MSIPATCHDATATYPE
UINT WINAPI MsiReinstallFeatureA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD)
enum tagUSERINFOSTATE USERINFOSTATE
UINT WINAPI MsiEnumClientsExW(_In_ LPCWSTR szComponent, _In_opt_ LPCWSTR szUserSid, _In_ DWORD dwContext, _In_ DWORD dwProductIndex, _Out_opt_ WCHAR szProductBuf[39], _Out_opt_ MSIINSTALLCONTEXT *pdwInstalledContext, _Out_opt_ LPWSTR szSid, _Inout_opt_ LPDWORD pcchSid)
INT(CALLBACK * INSTALLUI_HANDLERW)(LPVOID, UINT, LPCWSTR)
Definition: msi.h:421
INSTALLSTATE WINAPI MsiGetComponentPathW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchBuf) LPWSTR, _Inout_opt_ LPDWORD pcchBuf)
enum tagINSTALLMODE INSTALLMODE
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)
UINT WINAPI MsiSourceListForceResolutionW(const WCHAR *, const WCHAR *, DWORD)
Definition: source.c:1317
static const WCHAR INSTALLPROPERTY_URLINFOABOUTW[]
Definition: msi.h:347
static const WCHAR INSTALLPROPERTY_HELPTELEPHONEW[]
Definition: msi.h:323
UINT WINAPI MsiInstallProductA(_In_ LPCSTR, _In_opt_ LPCSTR)
static const WCHAR INSTALLPROPERTY_REGCOMPANYW[]
Definition: msi.h:367
UINT WINAPI MsiCollectUserInfoW(_In_ LPCWSTR)
static const WCHAR INSTALLPROPERTY_UNINSTALLABLEW[]
Definition: msi.h:376
UINT WINAPI MsiQueryComponentStateA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_opt_ INSTALLSTATE *)
static const WCHAR INSTALLPROPERTY_PUBLISHERW[]
Definition: msi.h:339
static const WCHAR INSTALLPROPERTY_INSTALLSOURCEW[]
Definition: msi.h:331
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)
tagMSIPATCHDATATYPE
Definition: msi.h:235
@ MSIPATCH_DATATYPE_XMLPATH
Definition: msi.h:237
@ MSIPATCH_DATATYPE_PATCHFILE
Definition: msi.h:236
@ MSIPATCH_DATATYPE_XMLBLOB
Definition: msi.h:238
HRESULT WINAPI MsiGetFileSignatureInformationA(_In_ LPCSTR, _In_ DWORD, _Outptr_ PCCERT_CONTEXT *, _Out_writes_bytes_opt_(*pcbHashData) LPBYTE, _Inout_opt_ LPDWORD pcbHashData)
static const WCHAR INSTALLPROPERTY_URLUPDATEINFOW[]
Definition: msi.h:351
INSTALLSTATE WINAPI MsiUseFeatureExA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _Reserved_ DWORD)
UINT WINAPI MsiQueryFeatureStateExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_opt_ INSTALLSTATE *)
UINT WINAPI MsiProvideQualifiedComponentW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
static const WCHAR INSTALLPROPERTY_PATCHTYPEW[]
Definition: msi.h:388
tagINSTALLLOGMODE
Definition: msi.h:130
@ INSTALLLOGMODE_VERBOSE
Definition: msi.h:145
@ INSTALLLOGMODE_INSTALLSTART
Definition: msi.h:150
@ INSTALLLOGMODE_FILESINUSE
Definition: msi.h:136
@ INSTALLLOGMODE_ACTIONDATA
Definition: msi.h:140
@ INSTALLLOGMODE_ACTIONSTART
Definition: msi.h:139
@ INSTALLLOGMODE_FATALEXIT
Definition: msi.h:131
@ INSTALLLOGMODE_PROPERTYDUMP
Definition: msi.h:142
@ INSTALLLOGMODE_RESOLVESOURCE
Definition: msi.h:137
@ INSTALLLOGMODE_COMMONDATA
Definition: msi.h:143
@ INSTALLLOGMODE_WARNING
Definition: msi.h:133
@ INSTALLLOGMODE_INITIALIZE
Definition: msi.h:144
@ INSTALLLOGMODE_TERMINATE
Definition: msi.h:146
@ INSTALLLOGMODE_RMFILESINUSE
Definition: msi.h:149
@ INSTALLLOGMODE_OUTOFDISKSPACE
Definition: msi.h:138
@ INSTALLLOGMODE_ERROR
Definition: msi.h:132
@ INSTALLLOGMODE_INFO
Definition: msi.h:135
@ INSTALLLOGMODE_PROGRESS
Definition: msi.h:141
@ INSTALLLOGMODE_SHOWDIALOG
Definition: msi.h:148
@ INSTALLLOGMODE_INSTALLEND
Definition: msi.h:151
@ INSTALLLOGMODE_USER
Definition: msi.h:134
@ INSTALLLOGMODE_EXTRADEBUG
Definition: msi.h:147
UINT WINAPI MsiDetermineApplicablePatchesA(_In_ LPCSTR, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOA)
UINT WINAPI MsiOpenPackageW(_In_ LPCWSTR, _Out_ MSIHANDLE *)
UINT WINAPI MsiGetFileVersionA(_In_ LPCSTR, _Out_writes_opt_(*pcchVersionBuf) LPSTR, _Inout_opt_ LPDWORD pcchVersionBuf, _Out_writes_opt_(*pcchLangBuf) LPSTR, _Inout_opt_ LPDWORD pcchLangBuf)
tagSCRIPTFLAGS
Definition: msi.h:176
@ SCRIPTFLAGS_REGDATA_APPINFO
Definition: msi.h:180
@ SCRIPTFLAGS_REGDATA_EXTENSIONINFO
Definition: msi.h:184
@ SCRIPTFLAGS_REGDATA_CLASSINFO
Definition: msi.h:183
@ SCRIPTFLAGS_SHORTCUTS
Definition: msi.h:178
@ SCRIPTFLAGS_CACHEINFO
Definition: msi.h:177
@ SCRIPTFLAGS_REGDATA_CNFGINFO
Definition: msi.h:181
@ SCRIPTFLAGS_MACHINEASSIGN
Definition: msi.h:179
@ SCRIPTFLAGS_VALIDATE_TRANSFORMS_LIST
Definition: msi.h:182
UINT WINAPI MsiSourceListAddSourceExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _In_ DWORD)
static const WCHAR INSTALLPROPERTY_PRODUCTIDW[]
Definition: msi.h:363
static const WCHAR INSTALLPROPERTY_VERSIONMAJORW[]
Definition: msi.h:359
UINT WINAPI MsiOpenPackageExW(_In_ LPCWSTR, _In_ DWORD, _Out_ MSIHANDLE *)
tagINSTALLFEATUREATTRIBUTE
Definition: msi.h:220
@ INSTALLFEATUREATTRIBUTE_FAVORSOURCE
Definition: msi.h:222
@ INSTALLFEATUREATTRIBUTE_NOUNSUPPORTEDADVERTISE
Definition: msi.h:226
@ INSTALLFEATUREATTRIBUTE_FAVORLOCAL
Definition: msi.h:221
@ INSTALLFEATUREATTRIBUTE_DISALLOWADVERTISE
Definition: msi.h:225
@ INSTALLFEATUREATTRIBUTE_FAVORADVERTISE
Definition: msi.h:224
@ INSTALLFEATUREATTRIBUTE_FOLLOWPARENT
Definition: msi.h:223
tagINSTALLTYPE
Definition: msi.h:188
@ INSTALLTYPE_DEFAULT
Definition: msi.h:189
@ INSTALLTYPE_SINGLE_INSTANCE
Definition: msi.h:191
@ INSTALLTYPE_NETWORK_IMAGE
Definition: msi.h:190
UINT WINAPI MsiSetExternalUIRecord(_In_opt_ INSTALLUI_HANDLER_RECORD, _In_ DWORD, _In_opt_ LPVOID, _Out_opt_ PINSTALLUI_HANDLER_RECORD)
tagMSICODE
Definition: msi.h:214
@ MSICODE_PRODUCT
Definition: msi.h:215
@ MSICODE_PATCH
Definition: msi.h:216
UINT WINAPI MsiOpenProductW(_In_ LPCWSTR, _Out_ MSIHANDLE *)
enum tagINSTALLMESSAGE INSTALLMESSAGE
tagREINSTALLMODE
Definition: msi.h:115
@ REINSTALLMODE_MACHINEDATA
Definition: msi.h:123
@ REINSTALLMODE_FILEREPLACE
Definition: msi.h:122
@ REINSTALLMODE_FILEOLDERVERSION
Definition: msi.h:118
@ REINSTALLMODE_FILEEXACT
Definition: msi.h:120
@ REINSTALLMODE_FILEEQUALVERSION
Definition: msi.h:119
@ REINSTALLMODE_USERDATA
Definition: msi.h:124
@ REINSTALLMODE_PACKAGE
Definition: msi.h:126
@ REINSTALLMODE_FILEVERIFY
Definition: msi.h:121
@ REINSTALLMODE_REPAIR
Definition: msi.h:116
@ REINSTALLMODE_SHORTCUT
Definition: msi.h:125
@ REINSTALLMODE_FILEMISSING
Definition: msi.h:117
UINT WINAPI MsiSourceListClearAllA(_In_ LPCSTR, _In_opt_ LPCSTR, _Reserved_ DWORD)
#define MAX_GUID_CHARS
Definition: msi.h:26
enum tagMSICODE MSICODE
UINT WINAPI MsiInstallMissingComponentW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ INSTALLSTATE)
INT(CALLBACK * INSTALLUI_HANDLERA)(LPVOID, UINT, LPCSTR)
Definition: msi.h:420
UINT WINAPI MsiConfigureProductA(_In_ LPCSTR, _In_ int, _In_ INSTALLSTATE)
UINT WINAPI MsiEnumComponentsW(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
UINT WINAPI MsiBeginTransactionA(_In_ LPCSTR, _In_ DWORD, _Out_ MSIHANDLE *, _Out_ HANDLE *)
enum tagINSTALLFEATUREATTRIBUTE INSTALLFEATUREATTRIBUTE
UINT WINAPI MsiGetProductCodeA(_In_ LPCSTR, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
static const WCHAR INSTALLPROPERTY_DISKPROMPTW[]
Definition: msi.h:417
ULONG MSIHANDLE
Definition: msi.h:32
UINT WINAPI MsiGetFileVersionW(_In_ LPCWSTR, _Out_writes_opt_(*pcchVersionBuf) LPWSTR, _Inout_opt_ LPDWORD pcchVersionBuf, _Out_writes_opt_(*pcchLangBuf) LPWSTR, _Inout_opt_ LPDWORD pcchLangBuf)
tagINSTALLMODE
Definition: msi.h:161
@ INSTALLMODE_EXISTING
Definition: msi.h:165
@ INSTALLMODE_DEFAULT
Definition: msi.h:166
@ INSTALLMODE_NOSOURCERESOLUTION
Definition: msi.h:163
@ INSTALLMODE_NODETECTION
Definition: msi.h:164
@ INSTALLMODE_NODETECTION_ANY
Definition: msi.h:162
UINT WINAPI MsiGetProductCodeW(_In_ LPCWSTR, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
static const WCHAR INSTALLPROPERTY_LOCALPACKAGEW[]
Definition: msi.h:343
INSTALLUI_HANDLER_RECORD * PINSTALLUI_HANDLER_RECORD
Definition: msi.h:423
static const WCHAR INSTALLPROPERTY_PATCHSTATEW[]
Definition: msi.h:384
UINT WINAPI MsiEnumRelatedProductsW(_In_ LPCWSTR, _Reserved_ DWORD, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
UINT WINAPI MsiGetPatchInfoW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
struct tagMSIPATCHSEQUENCEINFOW * PMSIPATCHSEQUENCEINFOW
INSTALLSTATE WINAPI MsiQueryFeatureStateA(_In_ LPCSTR, _In_ LPCSTR)
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)
tagMSISOURCETYPE
Definition: msi.h:206
@ MSISOURCETYPE_URL
Definition: msi.h:209
@ MSISOURCETYPE_UNKNOWN
Definition: msi.h:207
@ MSISOURCETYPE_NETWORK
Definition: msi.h:208
@ MSISOURCETYPE_MEDIA
Definition: msi.h:210
static const WCHAR INSTALLPROPERTY_PRODUCTNAMEW[]
Definition: msi.h:277
static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW[]
Definition: msi.h:405
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)
INSTALLSTATE WINAPI MsiQueryProductStateA(_In_ LPCSTR)
UINT WINAPI MsiGetFileHashW(_In_ LPCWSTR, _In_ DWORD, _Inout_ PMSIFILEHASHINFO)
tagINSTALLMESSAGE
Definition: msi.h:93
@ INSTALLMESSAGE_RMFILESINUSE
Definition: msi.h:109
@ INSTALLMESSAGE_WARNING
Definition: msi.h:96
@ INSTALLMESSAGE_ACTIONSTART
Definition: msi.h:102
@ INSTALLMESSAGE_ERROR
Definition: msi.h:95
@ INSTALLMESSAGE_USER
Definition: msi.h:97
@ INSTALLMESSAGE_PROGRESS
Definition: msi.h:104
@ INSTALLMESSAGE_TERMINATE
Definition: msi.h:107
@ INSTALLMESSAGE_ACTIONDATA
Definition: msi.h:103
@ INSTALLMESSAGE_FILESINUSE
Definition: msi.h:99
@ INSTALLMESSAGE_COMMONDATA
Definition: msi.h:105
@ INSTALLMESSAGE_OUTOFDISKSPACE
Definition: msi.h:101
@ INSTALLMESSAGE_INFO
Definition: msi.h:98
@ INSTALLMESSAGE_FATALEXIT
Definition: msi.h:94
@ INSTALLMESSAGE_INITIALIZE
Definition: msi.h:106
@ INSTALLMESSAGE_INSTALLSTART
Definition: msi.h:110
@ INSTALLMESSAGE_SHOWDIALOG
Definition: msi.h:108
@ INSTALLMESSAGE_INSTALLEND
Definition: msi.h:111
@ INSTALLMESSAGE_RESOLVESOURCE
Definition: msi.h:100
struct _MSIFILEHASHINFO * PMSIFILEHASHINFO
static const WCHAR INSTALLPROPERTY_DISPLAYNAMEW[]
Definition: msi.h:396
UINT WINAPI MsiSourceListAddMediaDiskW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
UINT WINAPI MsiEnumRelatedProductsA(_In_ LPCSTR, _Reserved_ DWORD, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
INSTALLSTATE WINAPI MsiUseFeatureExW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _Reserved_ DWORD)
static const WCHAR INSTALLPROPERTY_PRODUCTICONW[]
Definition: msi.h:295
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)
tagINSTALLSTATE
Definition: msi.h:35
@ INSTALLSTATE_UNKNOWN
Definition: msi.h:42
@ INSTALLSTATE_INCOMPLETE
Definition: msi.h:38
@ INSTALLSTATE_LOCAL
Definition: msi.h:46
@ INSTALLSTATE_ABSENT
Definition: msi.h:45
@ INSTALLSTATE_NOTUSED
Definition: msi.h:36
@ INSTALLSTATE_INVALIDARG
Definition: msi.h:41
@ INSTALLSTATE_SOURCE
Definition: msi.h:47
@ INSTALLSTATE_BADCONFIG
Definition: msi.h:37
@ INSTALLSTATE_DEFAULT
Definition: msi.h:48
@ INSTALLSTATE_BROKEN
Definition: msi.h:43
@ INSTALLSTATE_ADVERTISED
Definition: msi.h:44
@ INSTALLSTATE_MOREDATA
Definition: msi.h:40
@ INSTALLSTATE_SOURCEABSENT
Definition: msi.h:39
UINT WINAPI MsiQueryFeatureStateExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_opt_ INSTALLSTATE *)
tagMSIINSTALLCONTEXT
Definition: msi.h:195
@ MSIINSTALLCONTEXT_MACHINE
Definition: msi.h:200
@ MSIINSTALLCONTEXT_ALLUSERMANAGED
Definition: msi.h:202
@ MSIINSTALLCONTEXT_ALL
Definition: msi.h:201
@ MSIINSTALLCONTEXT_NONE
Definition: msi.h:197
@ MSIINSTALLCONTEXT_USERUNMANAGED
Definition: msi.h:199
@ MSIINSTALLCONTEXT_USERMANAGED
Definition: msi.h:198
@ MSIINSTALLCONTEXT_FIRSTVISIBLE
Definition: msi.h:196
UINT WINAPI MsiProvideQualifiedComponentA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
UINT WINAPI MsiInstallProductW(_In_ LPCWSTR, _In_opt_ LPCWSTR)
tagUSERINFOSTATE
Definition: msi.h:77
@ USERINFOSTATE_MOREDATA
Definition: msi.h:78
@ USERINFOSTATE_UNKNOWN
Definition: msi.h:80
@ USERINFOSTATE_INVALIDARG
Definition: msi.h:79
@ USERINFOSTATE_ABSENT
Definition: msi.h:81
@ USERINFOSTATE_PRESENT
Definition: msi.h:82
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 MsiEnumPatchesW(_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR, _Out_writes_(*pcchTransformsBuf) LPWSTR, _Inout_ LPDWORD pcchTransformsBuf)
UINT WINAPI MsiMessageBoxA(HWND, LPCSTR, LPCSTR, UINT, WORD, DWORD)
enum tagMSIPATCHDATATYPE * PMSIPATCHDATATYPE
UINT WINAPI MsiSourceListClearAllW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _Reserved_ DWORD)
static const WCHAR INSTALLPROPERTY_INSTALLDATEW[]
Definition: msi.h:335
UINT WINAPI MsiProvidedComponentA(LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD)
UINT WINAPI MsiEnumComponentsA(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
#define MAX_FEATURE_CHARS
Definition: msi.h:257
UINT WINAPI MsiAdvertiseProductExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ LANGID, _In_ DWORD, _In_ DWORD)
UINT WINAPI MsiEnumComponentCostsW(MSIHANDLE, LPCWSTR, DWORD, INSTALLSTATE, LPWSTR, LPDWORD, LPINT, LPINT)
enum tagSCRIPTFLAGS SCRIPTFLAGS
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 MsiGetProductPropertyW(_In_ MSIHANDLE, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
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)
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)
static const WCHAR INSTALLPROPERTY_HELPLINKW[]
Definition: msi.h:319
static const WCHAR INSTALLPROPERTY_INSTANCETYPEW[]
Definition: msi.h:300
UINT WINAPI MsiCollectUserInfoA(_In_ LPCSTR)
UINT WINAPI MsiReinstallFeatureW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD)
static const WCHAR INSTALLPROPERTY_VERSIONSTRINGW[]
Definition: msi.h:315
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)
static const WCHAR INSTALLPROPERTY_VERSIONW[]
Definition: msi.h:289
INSTALLSTATE WINAPI MsiUseFeatureA(_In_ LPCSTR, _In_ LPCSTR)
UINT WINAPI MsiGetProductInfoW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
UINT WINAPI MsiEnableLogA(_In_ DWORD, _In_opt_ LPCSTR, _In_ DWORD)
UINT WINAPI MsiProvideAssemblyW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(_In_opt_ INSTALLUI_HANDLERW, _In_ DWORD, _In_opt_ LPVOID)
INT(CALLBACK * INSTALLUI_HANDLER_RECORD)(LPVOID, UINT, MSIHANDLE)
Definition: msi.h:422
UINT WINAPI MsiGetPatchInfoExW(_In_ LPCWSTR, _In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
static const WCHAR INSTALLPROPERTY_LUAENABLEDW[]
Definition: msi.h:392
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 MsiGetPatchInfoExA(_In_ LPCSTR, _In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
tagINSTALLLEVEL
Definition: msi.h:86
@ INSTALLLEVEL_MINIMUM
Definition: msi.h:88
@ INSTALLLEVEL_DEFAULT
Definition: msi.h:87
@ INSTALLLEVEL_MAXIMUM
Definition: msi.h:89
static const WCHAR INSTALLPROPERTY_ASSIGNMENTTYPEW[]
Definition: msi.h:281
enum tagINSTALLLEVEL INSTALLLEVEL
UINT WINAPI MsiDeterminePatchSequenceW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOW)
UINT WINAPI MsiOpenProductA(_In_ LPCSTR, _Out_ MSIHANDLE *)
enum tagADVERTISEFLAGS ADVERTISEFLAGS
UINT WINAPI MsiApplyPatchW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ INSTALLTYPE, _In_opt_ LPCWSTR)
struct tagMSIPATCHSEQUENCEINFOW MSIPATCHSEQUENCEINFOW
UINT WINAPI MsiDeterminePatchSequenceA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOA)
enum tagINSTALLUILEVEL INSTALLUILEVEL
INSTALLSTATE WINAPI MsiGetComponentPathA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchBuf) LPSTR, _Inout_opt_ LPDWORD pcchBuf)
UINT WINAPI MsiReinstallProductA(_In_ LPCSTR, _In_ DWORD)
UINT WINAPI MsiAdvertiseProductW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LANGID)
UINT WINAPI MsiSourceListAddSourceA(_In_ LPCSTR, _In_opt_ LPCSTR, _Reserved_ DWORD, _In_ LPCSTR)
static const WCHAR INSTALLPROPERTY_REGOWNERW[]
Definition: msi.h:371
UINT WINAPI MsiGetProductInfoA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
UINT WINAPI MsiEnumProductsA(_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
UINT WINAPI MsiEnableLogW(_In_ DWORD, _In_opt_ LPCWSTR, _In_ DWORD)
INSTALLSTATE WINAPI MsiUseFeatureW(_In_ LPCWSTR, _In_ LPCWSTR)
enum tagINSTALLLOGMODE INSTALLLOGMODE
UINT WINAPI MsiVerifyPackageA(_In_ LPCSTR)
INSTALLSTATE WINAPI MsiQueryProductStateW(_In_ LPCWSTR)
UINT WINAPI MsiSourceListClearSourceW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR)
struct tagMSIPATCHSEQUENCEINFOA MSIPATCHSEQUENCEINFOA
UINT WINAPI MsiSourceListForceResolutionA(const CHAR *, const CHAR *, DWORD)
Definition: source.c:1308
static const WCHAR INSTALLPROPERTY_MOREINFOURLW[]
Definition: msi.h:400
enum tagINSTALLLOGATTRIBUTES INSTALLLOGATTRIBUTES
UINT WINAPI MsiEnumFeaturesA(_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_FEATURE_CHARS+1) LPSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPSTR)
enum tagMSISOURCETYPE MSISOURCETYPE
static const WCHAR INSTALLPROPERTY_VERSIONMINORW[]
Definition: msi.h:355
tagINSTALLUILEVEL
Definition: msi.h:63
@ INSTALLUILEVEL_ENDDIALOG
Definition: msi.h:72
@ INSTALLUILEVEL_FULL
Definition: msi.h:69
@ INSTALLUILEVEL_BASIC
Definition: msi.h:67
@ INSTALLUILEVEL_HIDECANCEL
Definition: msi.h:70
@ INSTALLUILEVEL_REDUCED
Definition: msi.h:68
@ INSTALLUILEVEL_NONE
Definition: msi.h:66
@ INSTALLUILEVEL_SOURCERESONLY
Definition: msi.h:73
@ INSTALLUILEVEL_DEFAULT
Definition: msi.h:65
@ INSTALLUILEVEL_PROGRESSONLY
Definition: msi.h:71
@ INSTALLUILEVEL_NOCHANGE
Definition: msi.h:64
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)
UINT WINAPI MsiSourceListGetInfoW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
UINT WINAPI MsiGetProductInfoExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
INSTALLUILEVEL WINAPI MsiSetInternalUI(_In_ INSTALLUILEVEL, _Inout_opt_ HWND *)
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 MsiOpenPackageExA(_In_ LPCSTR, _In_ DWORD, _Out_ MSIHANDLE *)
UINT WINAPI MsiInstallMissingComponentA(_In_ LPCSTR, _In_ LPCSTR, _In_ INSTALLSTATE)
static const WCHAR INSTALLPROPERTY_LANGUAGEW[]
Definition: msi.h:273
UINT WINAPI MsiCloseAllHandles(void)
Definition: handle.c:325
UINT WINAPI MsiConfigureFeatureA(_In_ LPCSTR, _In_ LPCSTR, _In_ INSTALLSTATE)
unsigned int UINT
Definition: ndis.h:50
#define LPVOID
Definition: nt_native.h:45
#define INT
Definition: polytest.cpp:20
ULONG dwFileHashInfoSize
Definition: msi.h:230
ULONG dwData[4]
Definition: msi.h:231
MSIPATCHDATATYPE ePatchDataType
Definition: msi.h:244
LPCWSTR szPatchData
Definition: msi.h:251
MSIPATCHDATATYPE ePatchDataType
Definition: msi.h:252
unsigned char * LPBYTE
Definition: typedefs.h:53
uint16_t * LPWORD
Definition: typedefs.h:56
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
int * LPINT
Definition: windef.h:178
#define WINAPI
Definition: msvc.h:6
int INSTALLSTATE
Definition: winemsi.idl:31
unsigned long MSIHANDLE
Definition: winemsi.idl:27
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
char CHAR
Definition: xmlstorage.h:175