From c181d8e3166987e535c3b2385030350d12e51699 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Mon, 15 Dec 2014 01:41:57 +0000 Subject: [PATCH] - Fix build. svn path=/trunk/; revision=65674 --- reactos/win32ss/user/ntuser/msgqueue.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/reactos/win32ss/user/ntuser/msgqueue.c b/reactos/win32ss/user/ntuser/msgqueue.c index 46b8aa2f71b..cf403cfb165 100644 --- a/reactos/win32ss/user/ntuser/msgqueue.c +++ b/reactos/win32ss/user/ntuser/msgqueue.c @@ -1419,6 +1419,27 @@ IntTrackMouseMove(PWND pwndTrack, PDESKTOP pDesk, PMSG msg, USHORT hittest) } } +PWND FASTCALL +co_IntFindChildWindowToOwner(PWND Root, PWND Owner) +{ + PWND Ret; + PWND Child, OwnerWnd; + + for(Child = Root->spwndChild; Child; Child = Child->spwndNext) + { + OwnerWnd = Child->spwndOwner; + if(!OwnerWnd) + continue; + + if(OwnerWnd == Owner) + { + Ret = Child; + return Ret; + } + } + return NULL; +} + BOOL co_IntProcessMouseMessage(MSG* msg, BOOL* RemoveMessages, UINT first, UINT last) { MSG clk_msg;