From: Jacek Caban jacek@codeweavers.com
--- dlls/user32/win.c | 14 -------------- dlls/user32/win.h | 1 - 2 files changed, 15 deletions(-)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c index 7d873155c3b..6b40f25dd46 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -85,20 +85,6 @@ static HWND *list_window_children( HDESK desktop, HWND hwnd, UNICODE_STRING *cla }
-/******************************************************************* - * get_hwnd_message_parent - * - * Return the parent for HWND_MESSAGE windows. - */ -HWND get_hwnd_message_parent(void) -{ - struct ntuser_thread_info *thread_info = NtUserGetThreadInfo(); - - if (!thread_info->msg_window) GetDesktopWindow(); /* trigger creation */ - return UlongToHandle( thread_info->msg_window ); -} - - /******************************************************************* * is_desktop_window * diff --git a/dlls/user32/win.h b/dlls/user32/win.h index ae470739cbe..18774928354 100644 --- a/dlls/user32/win.h +++ b/dlls/user32/win.h @@ -24,7 +24,6 @@ #include "user_private.h"
/* Window functions */ -extern HWND get_hwnd_message_parent(void) DECLSPEC_HIDDEN; extern BOOL is_desktop_window( HWND hwnd ) DECLSPEC_HIDDEN; extern HWND WIN_GetFullHandle( HWND hwnd ) DECLSPEC_HIDDEN; extern HWND WIN_IsCurrentProcess( HWND hwnd ) DECLSPEC_HIDDEN;