Stefan Leichter : shlwapi: Added stub for ShellMessageBoxWrapW.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 2 07:09:14 CST 2006


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

Author: Stefan Leichter <Stefan.Leichter at camLine.com>
Date:   Thu Feb  2 13:20:04 2006 +0100

shlwapi: Added stub for ShellMessageBoxWrapW.

---

 dlls/shlwapi/ordinal.c    |   25 +++++++++++++++++++++++++
 dlls/shlwapi/shlwapi.spec |    2 +-
 2 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index 384c2ee..36d7173 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -4395,3 +4395,28 @@ DWORD WINAPI GetUIVersion(void)
     }
     return version;
 }
+
+/***********************************************************************
+ *              ShellMessageBoxWrapW [SHLWAPI.388]
+ *
+ * loads a string resource for a module, displays the string in a 
+ * message box and writes it into the logfile
+ *
+ * PARAMS
+ *  mod      [I] the module containing the string resource
+ *  unknown1 [I] FIXME
+ *  uId      [I] the id of the string resource
+ *  title    [I] the title of the message box
+ *  unknown2 [I] FIXME
+ *  filename [I] name of the logfile
+ *
+ * RETURNS
+ *  FIXME
+ */
+BOOL WINAPI ShellMessageBoxWrapW(HMODULE mod, DWORD unknown1, UINT uId,
+                                 LPCWSTR title, DWORD unknown2, LPCWSTR filename)
+{
+    FIXME("%p %lx %d %s %lx %s\n",
+          mod, unknown1, uId, debugstr_w(title), unknown2, debugstr_w(filename));
+    return TRUE;
+}
diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec
index 4a04e0f..0ab4c7b 100644
--- a/dlls/shlwapi/shlwapi.spec
+++ b/dlls/shlwapi/shlwapi.spec
@@ -385,7 +385,7 @@
 385 stub -noname SHLoadRawAccelerators
 386 stub -noname SHQueryRawAccelerator
 387 stub -noname SHQueryRawAcceleratorMsg
-388 stub -noname ShellMessageBoxWrapW
+388 stdcall -noname ShellMessageBoxWrapW(ptr long long wstr long wstr)
 389 stdcall -noname GetSaveFileNameWrapW(ptr)
 390 stdcall -noname WNetRestoreConnectionWrapW(long wstr)
 391 stdcall -noname WNetGetLastErrorWrapW(ptr ptr long ptr long)




More information about the wine-cvs mailing list