Jacek Caban : msi: Added MsiInstallMissingComponentW stub implementation.

Alexandre Julliard julliard at winehq.org
Tue Oct 7 08:54:07 CDT 2008


Module: wine
Branch: master
Commit: 417134709db0c1338c56e319fa66d6f997b7664b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=417134709db0c1338c56e319fa66d6f997b7664b

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Oct  6 16:05:25 2008 -0500

msi: Added MsiInstallMissingComponentW stub implementation.

---

 dlls/msi/msi.c    |    9 +++++++++
 dlls/msi/msi.spec |    2 +-
 include/msi.h     |    4 ++++
 3 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index 7432aee..a35f460 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -3033,3 +3033,12 @@ UINT WINAPI MsiSetExternalUIRecord( INSTALLUI_HANDLER_RECORD puiHandler,
                              ppuiPrevHandler);
     return ERROR_CALL_NOT_IMPLEMENTED;
 }
+
+/***********************************************************************
+ * MsiInstallMissingComponentW     [MSI.@]
+ */
+UINT WINAPI MsiInstallMissingComponentW(LPCWSTR szProduct, LPCWSTR szComponent, INSTALLSTATE eInstallState)
+{
+    FIXME("(%s %s %d\n", debugstr_w(szProduct), debugstr_w(szComponent), eInstallState);
+    return ERROR_SUCCESS;
+}
diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index 3794383..925cfde 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -77,7 +77,7 @@
 81 stdcall MsiGetUserInfoA(str ptr ptr ptr ptr ptr ptr)
 82 stdcall MsiGetUserInfoW(wstr ptr ptr ptr ptr ptr ptr)
 83 stub MsiInstallMissingComponentA
-84 stub MsiInstallMissingComponentW
+84 stdcall MsiInstallMissingComponentW(wstr wstr long)
 85 stub MsiInstallMissingFileA
 86 stub MsiInstallMissingFileW
 87 stdcall MsiInstallProductA(str str)
diff --git a/include/msi.h b/include/msi.h
index 20dca3a..cf125ef 100644
--- a/include/msi.h
+++ b/include/msi.h
@@ -603,6 +603,10 @@ UINT WINAPI MsiDatabaseMergeA(MSIHANDLE, MSIHANDLE, LPCSTR);
 UINT WINAPI MsiDatabaseMergeW(MSIHANDLE, MSIHANDLE, LPCWSTR);
 #define     MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge)
 
+UINT WINAPI MsiInstallMissingComponentA(LPCSTR, LPCSTR, INSTALLSTATE);
+UINT WINAPI MsiInstallMissingComponentW(LPCWSTR, LPCWSTR, INSTALLSTATE);
+#define     MsiInstallMissingComponent WINELIB_NAME_AW(MsiInstallMissingComponent)
+
 /* Non Unicode */
 UINT WINAPI MsiCloseHandle(MSIHANDLE);
 UINT WINAPI MsiCloseAllHandles(void);




More information about the wine-cvs mailing list