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/w…
==============================================================================
--- 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);
}
/*