Hans Leidekker : user32: Add stub implementations of MessageBoxTimeoutA/W.
Alexandre Julliard
julliard at winehq.org
Tue Dec 6 15:46:19 CST 2011
Module: wine
Branch: master
Commit: e54ab7a8b6edbffe5ef642f9258f84baafbe59fa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e54ab7a8b6edbffe5ef642f9258f84baafbe59fa
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Dec 6 13:12:57 2011 +0100
user32: Add stub implementations of MessageBoxTimeoutA/W.
---
dlls/user32/msgbox.c | 20 ++++++++++++++++++++
dlls/user32/user32.spec | 4 ++--
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/msgbox.c b/dlls/user32/msgbox.c
index fe72166..91437bc 100644
--- a/dlls/user32/msgbox.c
+++ b/dlls/user32/msgbox.c
@@ -454,6 +454,26 @@ INT WINAPI MessageBoxExW( HWND hWnd, LPCWSTR text, LPCWSTR title,
}
/**************************************************************************
+ * MessageBoxTimeoutA (USER32.@)
+ */
+INT WINAPI MessageBoxTimeoutA( HWND hWnd, LPCSTR text, LPCSTR title,
+ UINT type, WORD langid, DWORD timeout )
+{
+ FIXME("timeout not supported (%u)\n", timeout);
+ return MessageBoxExA( hWnd, text, title, type, langid );
+}
+
+/**************************************************************************
+ * MessageBoxTimeoutW (USER32.@)
+ */
+INT WINAPI MessageBoxTimeoutW( HWND hWnd, LPCWSTR text, LPCWSTR title,
+ UINT type, WORD langid, DWORD timeout )
+{
+ FIXME("timeout not supported (%u)\n", timeout);
+ return MessageBoxExW( hWnd, text, title, type, langid );
+}
+
+/**************************************************************************
* MessageBoxIndirectA (USER32.@)
*/
INT WINAPI MessageBoxIndirectA( LPMSGBOXPARAMSA msgbox )
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 104ca86..d5c123c 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -498,8 +498,8 @@
@ stdcall MessageBoxExW(long wstr wstr long long)
@ stdcall MessageBoxIndirectA(ptr)
@ stdcall MessageBoxIndirectW(ptr)
-# @ stub MessageBoxTimeoutA
-# @ stub MessageBoxTimeoutW
+@ stdcall MessageBoxTimeoutA(long str str long long long)
+@ stdcall MessageBoxTimeoutW(long wstr wstr long long long)
@ stdcall MessageBoxW(long wstr wstr long)
# @ stub ModifyAccess
@ stdcall ModifyMenuA(long long long long ptr)
More information about the wine-cvs
mailing list