Detlef Riekenberg : msi: Display a MessageBox in MsiMessageBoxEx.

Alexandre Julliard julliard at winehq.org
Mon Apr 12 09:54:07 CDT 2010


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

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Sun Apr 11 19:47:20 2010 +0200

msi: Display a MessageBox in MsiMessageBoxEx.

---

 dlls/msi/msi.c    |   16 ++++++++++++++++
 dlls/msi/msi.spec |    4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index 0735640..c6b2205 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -2149,6 +2149,22 @@ UINT WINAPI MsiMessageBoxW(HWND hWnd, LPCWSTR lpText, LPCWSTR lpCaption, UINT uT
     return MessageBoxExW(hWnd,lpText,lpCaption,uType,wLanguageId); 
 }
 
+UINT WINAPI MsiMessageBoxExA(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType,
+                DWORD unknown, WORD wLanguageId, DWORD f)
+{
+    FIXME("(%p, %s, %s, %u, 0x%08x, 0x%08x, 0x%08x): semi-stub\n", hWnd, debugstr_a(lpText),
+            debugstr_a(lpCaption), uType, unknown, wLanguageId, f);
+    return MessageBoxExA(hWnd, lpText, lpCaption, uType, wLanguageId);
+}
+
+UINT WINAPI MsiMessageBoxExW(HWND hWnd, LPCWSTR lpText, LPCWSTR lpCaption, UINT uType,
+                DWORD unknown, WORD wLanguageId, DWORD f)
+{
+    FIXME("(%p, %s, %s, %u, 0x%08x, 0x%08x, 0x%08x): semi-stub\n", hWnd, debugstr_w(lpText),
+            debugstr_w(lpCaption), uType, unknown, wLanguageId, f);
+    return MessageBoxExW(hWnd, lpText, lpCaption, uType, wLanguageId);
+}
+
 UINT WINAPI MsiProvideAssemblyA( LPCSTR szAssemblyName, LPCSTR szAppContext,
                 DWORD dwInstallMode, DWORD dwAssemblyInfo, LPSTR lpPathBuf,
                 LPDWORD pcchPathBuf )
diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index 30daec9..94e3ed3 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -272,8 +272,8 @@
 276 stub MsiSourceListClearMediaDiskW
 277 stdcall MsiDetermineApplicablePatchesA(str long ptr)
 278 stdcall MsiDetermineApplicablePatchesW(wstr long ptr)
-279 stub MsiMessageBoxExA
-280 stub MsiMessageBoxExW
+279 stdcall MsiMessageBoxExA(long str str long long long long)
+280 stdcall MsiMessageBoxExW(long wstr wstr long long long long)
 281 stdcall MsiSetExternalUIRecord(ptr long ptr ptr)
 
 @ stdcall -private DllCanUnloadNow()




More information about the wine-cvs mailing list