[ros-diffs] [dchapyshev] 36350: - Implement RealChildWindowFromPoint (based on wine) - Add checking params for BeginDeferWindowPos
dchapyshev at svn.reactos.org
dchapyshev at svn.reactos.org
Sat Sep 20 15:47:34 CEST 2008
Author: dchapyshev
Date: Sat Sep 20 08:47:33 2008
New Revision: 36350
URL: http://svn.reactos.org/svn/reactos?rev=36350&view=rev
Log:
- Implement RealChildWindowFromPoint (based on wine)
- Add checking params for BeginDeferWindowPos
Modified:
trunk/reactos/dll/win32/user32/windows/window.c
Modified: trunk/reactos/dll/win32/user32/windows/window.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/window.c?rev=36350&r1=36349&r2=36350&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] Sat Sep 20 08:47:33 2008
@@ -66,6 +66,11 @@
HDWP STDCALL
BeginDeferWindowPos(int nNumWindows)
{
+ if (nNumWindows < 0)
+ {
+ SetLastError(ERROR_INVALID_PARAMETER);
+ return 0;
+ }
#if 0
UNIMPLEMENTED;
return (HDWP)0;
@@ -1561,14 +1566,13 @@
/*
- * @unimplemented
+ * @implemented
*/
HWND STDCALL
RealChildWindowFromPoint(HWND hwndParent,
POINT ptParentClientCoords)
{
- UNIMPLEMENTED;
- return (HWND)0;
+ return ChildWindowFromPointEx(hwndParent, ptParentClientCoords, CWP_SKIPTRANSPARENT);
}
/*
More information about the Ros-diffs
mailing list