All pastes #414754 Raw Copy code Copy link Edit

Miscellany

public unlisted text v1 · immutable
#414754 ·published 2007-03-29 07:56 UTC
rendered paste body
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index dcb1e6b..7e4ce33 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -542,7 +542,7 @@
 @ stdcall PtInRect(ptr double)
 @ stub QuerySendMessage
 # @ stub QueryUserCounters
-@ stub RealChildWindowFromPoint
+@ stdcall RealChildWindowFromPoint(long double)
 @ stdcall RealGetWindowClass(long ptr long) RealGetWindowClassA
 @ stdcall RealGetWindowClassA(long ptr long)
 @ stdcall RealGetWindowClassW(long ptr long)
diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
index 635e968..d46875c 100644
--- a/dlls/user32/winpos.c
+++ b/dlls/user32/winpos.c
@@ -469,6 +469,14 @@ HWND WINAPI ChildWindowFromPointEx( HWND hwndParent, POINT pt, UINT uFlags)
     return retvalue;
 }

+/*******************************************************************
+ *             RealChildWindowFromPointEx (USER32.@)
+ */
+
+HWND WINAPI RealChildWindowFromPoint( HWND hwndParent, POINT ptParentClientCoords)
+{
+return ChildWindowFromPointEx( hwndParent, ptParentClientCoords, CWP_ALL );
+}

 /*******************************************************************
  *         WINPOS_GetWinOffset