Alexandre Julliard : user32: Add a stub for IsGUIThread().
Alexandre Julliard
julliard at winehq.org
Wed Nov 17 10:38:01 CST 2010
Module: wine
Branch: master
Commit: 14a77db43f242c2acacc910a868fcc23bee49911
URL: http://source.winehq.org/git/wine.git/?a=commit;h=14a77db43f242c2acacc910a868fcc23bee49911
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Nov 16 21:01:08 2010 +0100
user32: Add a stub for IsGUIThread().
---
dlls/user32/message.c | 10 ++++++++++
dlls/user32/user32.spec | 2 +-
include/winuser.h | 1 +
3 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/message.c b/dlls/user32/message.c
index c6daf31..93a90ea 100644
--- a/dlls/user32/message.c
+++ b/dlls/user32/message.c
@@ -4230,6 +4230,16 @@ BOOL WINAPI KillSystemTimer( HWND hwnd, UINT_PTR id )
/**********************************************************************
+ * IsGUIThread (USER32.@)
+ */
+BOOL WINAPI IsGUIThread( BOOL convert )
+{
+ FIXME( "%u: stub\n", convert );
+ return TRUE;
+}
+
+
+/**********************************************************************
* GetGUIThreadInfo (USER32.@)
*/
BOOL WINAPI GetGUIThreadInfo( DWORD id, GUITHREADINFO *info )
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 072fed4..5eb7154 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -436,7 +436,7 @@
@ stdcall IsDialogMessageA(long ptr)
@ stdcall IsDialogMessageW(long ptr)
@ stdcall IsDlgButtonChecked(long long)
-# @ stub IsGUIThread
+@ stdcall IsGUIThread(long)
@ stdcall IsHungAppWindow(long)
# @ stub IsHungThread
@ stdcall IsIconic(long)
diff --git a/include/winuser.h b/include/winuser.h
index 154c8da..83c99cb 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -4814,6 +4814,7 @@ WINUSERAPI BOOL WINAPI IsDialogMessageA(HWND,LPMSG);
WINUSERAPI BOOL WINAPI IsDialogMessageW(HWND,LPMSG);
#define IsDialogMessage WINELIB_NAME_AW(IsDialogMessage)
WINUSERAPI UINT WINAPI IsDlgButtonChecked(HWND,int);
+WINUSERAPI BOOL WINAPI IsGUIThread(BOOL);
WINUSERAPI BOOL WINAPI IsHungAppWindow(HWND);
WINUSERAPI BOOL WINAPI IsIconic(HWND);
WINUSERAPI BOOL WINAPI IsMenu(HMENU);
More information about the wine-cvs
mailing list