MSI: header updates

Mike McCormack mike at codeweavers.com
Fri Jun 25 14:45:41 CDT 2004


ChangeLog:
<aric at codeweavers.com>
<mike at codeweavers.com>
* update header declarations for msi

-------------- next part --------------
Index: include/msi.h
===================================================================
RCS file: /home/wine/wine/include/msi.h,v
retrieving revision 1.8
diff -u -r1.8 msi.h
--- include/msi.h	28 Apr 2004 00:29:25 -0000	1.8
+++ include/msi.h	25 Jun 2004 20:39:22 -0000
@@ -58,9 +58,47 @@
     INSTALLLEVEL_MAXIMUM = 0xFFFF
 } INSTALLLEVEL;
 
+typedef enum tagINSTALLMESSAGE
+{
+    INSTALLMESSAGE_OUTOFMEMORY = 0,
+    INSTALLMESSAGE_ERROR = 0x01000000,
+    INSTALLMESSAGE_WARNING = 0x02000000,
+    INSTALLMESSAGE_USER = 0x03000000,
+    INSTALLMESSAGE_INFO = 0x04000000,
+    INSTALLMESSAGE_DIAGNOSTIC = 0x05000000,
+    INSTALLMESSAGE_COMMONDATA = 0x06000000,
+    INSTALLMESSAGE_RESERVED = 0x07000000,
+    INSTALLMESSAGE_ACTIONSTART = 0x08000000,
+    INSTALLMESSAGE_ACTIONDATA = 0x09000000,
+    INSTALLMESSAGE_PROGRESS = 0x0a000000,
+    INSTALLMESSAGE_ACTIONDONE = 0x0b000000
+} INSTALLMESSAGE;
+
+typedef enum tagINSTALLLOGMODE
+{
+    INSTALLLOGMODE_OUTOFMEMORY = 0x00000001,
+    INSTALLLOGMODE_ERROR = 0x00000002,
+    INSTALLLOGMODE_WARNING = 0x00000004,
+    INSTALLLOGMODE_USER = 0x00000008,
+    INSTALLLOGMODE_INFO = 0x00000010,
+    INSTALLLOGMODE_DIAGNOSTIC = 0x00000020,
+    INSTALLLOGMODE_COMMONDATA = 0x00000040,
+    INSTALLLOGMODE_RESEVED = 0x00000080,
+    INSTALLLOGMODE_ACTIONSTART = 0x00000100,
+    INSTALLLOGMODE_ACTIONDATA = 0x00000200,
+    INSTALLLOGMODE_PROPERTYDUMP = 0x00000400
+} INSTALLLOGMODE;
 
 #define MAX_FEATURE_CHARS 38
 
+typedef INT (CALLBACK *INSTALLUI_HANDLERA)(LPVOID pvContext, UINT iMessageType,
+                                       LPCSTR szMessage);
+typedef INT (CALLBACK *INSTALLUI_HANDLERW)(LPVOID pvContext, UINT iMessageType,
+                                       LPCWSTR szMessage);
+
+UINT WINAPI MsiAdvertiseProductA(LPCSTR, LPCSTR, LPCSTR, LANGID);
+UINT WINAPI MsiAdvertiseProductW(LPCWSTR, LPCWSTR, LPCWSTR, LANGID);
+#define     MsiAdvertiseProduct WINELIB_NAME_AW(MsiAdvertiseProduct)
 
 UINT WINAPI MsiInstallProductA(LPCSTR, LPCSTR);
 UINT WINAPI MsiInstallProductW(LPCWSTR, LPCWSTR);
@@ -141,6 +179,18 @@
 UINT WINAPI MsiEnableLogA(DWORD dwLogMode, LPCSTR szLogFile, BOOL fAppend);
 UINT WINAPI MsiEnableLogW(DWORD dwLogMode, LPCWSTR szLogFile, BOOL fAppend);
 #define     MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
+
+INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA(INSTALLUI_HANDLERA, DWORD, LPVOID);
+INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(INSTALLUI_HANDLERW, DWORD, LPVOID);
+#define MsiSetExternalUI WINELIB_NAME_AW(MsiSetExternalUI)
+
+INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR, LPCWSTR, LPWSTR, DWORD*);
+INSTALLSTATE WINAPI MsiGetComponentPathA(LPCSTR, LPCSTR, LPSTR, DWORD*);
+#define MsiGetComponentPath WINELIB_NAME_AW(MsiGetComponentPath)
+
+INSTALLSTATE WINAPI MsiQueryFeatureStateW(LPCWSTR szProduct, LPCWSTR szFeature);
+INSTALLSTATE WINAPI MsiQueryFeatureStateA(LPCSTR szProduct, LPCSTR szFeature);
+#define MsiQueryFeatureState WINELIB_NAME_AW(MsiQueryFeatureState)
 
 /**
  * Non Unicode
Index: include/msiquery.h
===================================================================
RCS file: /home/wine/wine/include/msiquery.h,v
retrieving revision 1.5
diff -u -r1.5 msiquery.h
--- include/msiquery.h	1 Dec 2003 22:38:43 -0000	1.5
+++ include/msiquery.h	25 Jun 2004 20:39:22 -0000
@@ -122,5 +122,37 @@
 MSICONDITION WINAPI MsiEvaluateConditionW(MSIHANDLE,LPCWSTR);
 #define     MsiEvaluateCondition WINELIB_NAME_AW(MsiEvaluateCondition)
 
+/* property functions */
+UINT WINAPI MsiGetPropertyA(MSIHANDLE hInstall, LPCSTR szName,
+                           LPSTR szValueBuf, DWORD* pchValueBuf);
+UINT WINAPI MsiGetPropertyW(MSIHANDLE hInstall, LPCWSTR szName,
+                           LPWSTR szValueBuf, DWORD* pchValueBuf);
+#define     MsiGetProperty WINELIB_NAME_AW(MsiGetProperty)
+
+UINT WINAPI MsiSetPropertyA(MSIHANDLE hInstall, LPCSTR szName, LPCSTR szValue);
+UINT WINAPI MsiSetPropertyW(MSIHANDLE hInstall, LPCWSTR szName, 
+                              LPCWSTR szValue);
+#define     MsiSetProperty WINELIB_NAME_AW(MsiSetProperty)
+
+UINT WINAPI MsiGetTargetPathA(MSIHANDLE,LPCSTR,LPSTR,DWORD*);
+UINT WINAPI MsiGetTargetPathW(MSIHANDLE,LPCWSTR,LPWSTR,DWORD*);
+#define     MsiGetTargetPath WINELIB_NAME_AW(MsiGetTargetPath)
+
+UINT WINAPI MsiSetTargetPathA(MSIHANDLE, LPCSTR, LPCSTR);
+UINT WINAPI MsiSetTargetPathW(MSIHANDLE, LPCWSTR, LPCWSTR);
+#define     MsiSetTargetPath WINELIB_NAME_AW(MsiSetTargetPath)
+
+UINT WINAPI MsiGetSourcePathA(MSIHANDLE,LPCSTR,LPSTR,DWORD*);
+UINT WINAPI MsiGetSourcePathW(MSIHANDLE,LPCWSTR,LPWSTR,DWORD*);
+#define     MsiGetSourcePath WINELIB_NAME_AW(MsiGetSourcePath)
+
+MSIHANDLE WINAPI MsiGetActiveDatabase(MSIHANDLE);
+
+UINT WINAPI MsiViewGetColumnInfo( MSIHANDLE, MSICOLINFO, MSIHANDLE*);
+INT WINAPI MsiProcessMessage( MSIHANDLE, INSTALLMESSAGE, MSIHANDLE);
+
+UINT WINAPI MsiSetFeatureStateW( MSIHANDLE, LPCWSTR, INSTALLSTATE);
+UINT WINAPI MsiSetFeatureStateA( MSIHANDLE, LPCSTR, INSTALLSTATE);
+#define     MsiSetFeatureState WINELIB_NAME_AW(MsiSetFeatureState)
 
 #endif /* __WINE_MSIQUERY_H */


More information about the wine-patches mailing list