CVS: winex/include/wine-lgpl msi.h, 1.1, 1.2 msidefs.h, 1.1, 1.2 msiquery.h, 1.1, 1.2

[email protected] 14 Dec 2007 20:36:08 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/include/wine-lgpl msi.h,1.1,1.2 msidefs.h,1.1,1.2 msiquery.h,1.1,1.2Update of /var/lib/cvsd/cvsroot/winex/include/wine-lgpl
In directory agravaine:/tmp/cvs-serv17438/include/wine-lgpl

Modified Files:
	msi.h msidefs.h msiquery.h 
Log Message:
Updated MSI headers.


Index: msi.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/wine-lgpl/msi.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- msi.h	28 Mar 2007 17:13:36 -0000	1.1
+++ msi.h	14 Dec 2007 20:36:06 -0000	1.2
@@ -167,7 +167,8 @@
 typedef enum tagINSTALLTYPE
 {
     INSTALLTYPE_DEFAULT = 0,
-    INSTALLTYPE_NETWORK_IMAGE = 1
+    INSTALLTYPE_NETWORK_IMAGE = 1,
+    INSTALLTYPE_SINGLE_INSTANCE = 2,
 } INSTALLTYPE;
 
 typedef enum tagMSIINSTALLCONTEXT
@@ -424,6 +425,10 @@
 UINT WINAPI MsiVerifyPackageW(LPCWSTR);
 #define     MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
 
+UINT WINAPI MsiQueryComponentStateA(LPSTR,LPSTR,MSIINSTALLCONTEXT,LPCSTR,INSTALLSTATE*);
+UINT WINAPI MsiQueryComponentStateW(LPWSTR,LPWSTR,MSIINSTALLCONTEXT,LPCWSTR,INSTALLSTATE*);
+#define     MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState)
+
 INSTALLSTATE WINAPI MsiQueryProductStateA(LPCSTR);
 INSTALLSTATE WINAPI MsiQueryProductStateW(LPCWSTR);
 #define      MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
@@ -520,12 +525,6 @@
 INSTALLSTATE WINAPI MsiUseFeatureExA(LPCSTR, LPCSTR, DWORD, DWORD);
 #define MsiUseFeatureEx WINELIB_NAME_AW(MsiUseFeatureEx)
 
-/*HRESULT WINAPI MsiGetFileSignatureInformationA(LPCSTR, DWORD, PCCERT_CONTEXT*, BYTE*, DWORD*);
-HRESULT WINAPI MsiGetFileSignatureInformationW(LPCWSTR, DWORD, PCCERT_CONTEXT*, BYTE*, DWORD*);
-*/
-
-// FIXME - mbusigin
-#define PCCERT_CONTEXT void
 HRESULT WINAPI MsiGetFileSignatureInformationA(LPCSTR, DWORD, PCCERT_CONTEXT*, BYTE*, DWORD*);
 HRESULT WINAPI MsiGetFileSignatureInformationW(LPCWSTR, DWORD, PCCERT_CONTEXT*, BYTE*, DWORD*);
 #define MsiGetFileSignatureInformation WINELIB_NAME_AW(MsiGetFileSignatureInformation)
@@ -534,6 +533,14 @@
 INSTALLSTATE WINAPI MsiLocateComponentW(LPCWSTR, LPWSTR, DWORD *);
 #define  MsiLocateComponent WINELIB_NAME_AW(MsiLocateComponent)
 
+UINT WINAPI MsiSourceListAddSourceA(LPCSTR, LPCSTR, DWORD, LPCSTR);
+UINT WINAPI MsiSourceListAddSourceW(LPCWSTR, LPCWSTR, DWORD, LPCWSTR);
+#define     MsiSourceListAddSource WINELIB_NAME_AW(MsiSourceListAddSource)
+
+UINT WINAPI MsiSourceListClearAllA(LPCSTR, LPCSTR, DWORD);
+UINT WINAPI MsiSourceListClearAllW(LPCWSTR, LPCWSTR, DWORD);
+#define     MsiSourceListClearAll WINELIB_NAME_AW(MsiSourceListClearAll)
+
 UINT WINAPI MsiSourceListGetInfoA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, LPCSTR, LPSTR, LPDWORD);
 UINT WINAPI MsiSourceListGetInfoW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, LPCWSTR, LPWSTR, LPDWORD);
 #define     MsiSourceListGetInfo WINELIB_NAME_AW(MsiSourceListGetInfo)

Index: msidefs.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/wine-lgpl/msidefs.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- msidefs.h	28 Mar 2007 17:13:36 -0000	1.1
+++ msidefs.h	14 Dec 2007 20:36:06 -0000	1.2
@@ -168,6 +168,12 @@
     msidbComponentAttributes64bit = 0x00000100
 };
 
+enum msidbODBCDataSourceRegistration
+{
+    msidbODBCDataSourceRegistrationPerMachine = 0x00000000,
+    msidbODBCDataSourceRegistrationPerUser = 0x00000001
+};
+
 enum msidbRegistryRoot
 {
     msidbRegistryRootClassesRoot = 0,
@@ -184,6 +190,16 @@
     msidbLocatorType64bit = 0x010,
 };
 
+enum msidbServiceControlEvent
+{
+    msidbServiceControlEventStart = 0x00000001,
+    msidbServiceControlEventStop = 0x00000002,
+    msidbServiceControlEventDelete = 0x00000008,
+    msidbServiceControlEventUninstallStart = 0x00000010,
+    msidbServiceControlEventUninstallStop = 0x00000020,
+    msidbServiceControlEventUninstallDelete = 0x00000080,
+};
+
 /*
  * Windows SDK braindamage alert
  *
@@ -213,7 +229,7 @@
 #define PID_TEMPLATE 7
 #define PID_LASTAUTHOR 8
 #define PID_REVNUMBER 9
-#define PID_EDITTINE 10
+#define PID_EDITTIME 10
 #define PID_LASTPRINTED 11
 #define PID_CREATE_DTM 12
 #define PID_LASTSAVE_DTM 13

Index: msiquery.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/wine-lgpl/msiquery.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- msiquery.h	28 Mar 2007 17:13:36 -0000	1.1
+++ msiquery.h	14 Dec 2007 20:36:06 -0000	1.2
@@ -62,11 +62,11 @@
 } MSIMODIFY;
 
 #ifndef __WINESRC__
-#define MSIDBOPEN_READONLY (LPCSTR)0
-#define MSIDBOPEN_TRANSACT (LPCSTR)1
-#define MSIDBOPEN_DIRECT   (LPCSTR)2
-#define MSIDBOPEN_CREATE   (LPCSTR)3
-#define MSIDBOPEN_CREATEDIRECT (LPCSTR)4
+#define MSIDBOPEN_READONLY (LPCTSTR)0
+#define MSIDBOPEN_TRANSACT (LPCTSTR)1
+#define MSIDBOPEN_DIRECT   (LPCTSTR)2
+#define MSIDBOPEN_CREATE   (LPCTSTR)3
+#define MSIDBOPEN_CREATEDIRECT (LPCTSTR)4
 #else
 #define MSIDBOPEN_READONLY (LPCWSTR)0
 #define MSIDBOPEN_TRANSACT (LPCWSTR)1
@@ -249,6 +249,10 @@
 UINT WINAPI MsiPreviewBillboardW(MSIHANDLE, LPCWSTR, LPCWSTR);
 #define     MsiPreviewBillboard WINELIB_NAME_AW(MsiPreviewBillboard)
 
+UINT WINAPI MsiCreateTransformSummaryInfoA(MSIHANDLE, MSIHANDLE, LPCSTR, int, int);
+UINT WINAPI MsiCreateTransformSummaryInfoW(MSIHANDLE, MSIHANDLE, LPCWSTR, int, int);
+#define     MsiCreateTransformSummaryInfo WINELIB_NAME_AW(MsiCreateTransformSummaryInfo)
+
 UINT WINAPI MsiGetSummaryInformationA(MSIHANDLE, LPCSTR, UINT, MSIHANDLE *);
 UINT WINAPI MsiGetSummaryInformationW(MSIHANDLE, LPCWSTR, UINT, MSIHANDLE *);
 #define     MsiGetSummaryInformation WINELIB_NAME_AW(MsiGetSummaryInformation)
@@ -290,4 +294,14 @@
 
 UINT WINAPI MsiViewModify(MSIHANDLE, MSIMODIFY, MSIHANDLE);
 
+UINT WINAPI MsiGetFeatureCostA(MSIHANDLE, LPCSTR, MSICOSTTREE, INSTALLSTATE, INT*);
+UINT WINAPI MsiGetFeatureCostW(MSIHANDLE, LPCWSTR, MSICOSTTREE, INSTALLSTATE, INT*);
+#define     MsiGetFeatureCost WINELIB_NAME_AW(MsiGetFeatureCost)
+
+LANGID WINAPI MsiGetLanguage(MSIHANDLE);
+
+UINT WINAPI MsiSetInstallLevel(MSIHANDLE, int);
+
+MSIHANDLE WINAPI MsiGetLastErrorRecord(void);
+
 #endif /* __WINE_MSIQUERY_H */