-misc
authorGunnar Dalsnes <hardon@online.no>
Mon, 4 Aug 2003 16:56:49 +0000 (16:56 +0000)
committerGunnar Dalsnes <hardon@online.no>
Mon, 4 Aug 2003 16:56:49 +0000 (16:56 +0000)
svn path=/trunk/; revision=5410

reactos/lib/user32/misc/stubs.c
reactos/lib/user32/windows/input.c
reactos/lib/user32/windows/window.c

index 527603e..cd01bb6 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.28 2003/08/02 16:56:13 gdalsnes Exp $
+/* $Id: stubs.c,v 1.29 2003/08/04 16:56:49 gdalsnes Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS user32.dll
@@ -135,18 +135,6 @@ CopyImage(
 }
 
 
-/*
- * @unimplemented
- */
-WINBOOL
-STDCALL
-DragDetect(
-  HWND hwnd,
-  POINT pt)
-{
-  UNIMPLEMENTED;
-  return FALSE;
-}
 
 
 /*
index 4203159..c2c1d5f 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: input.c,v 1.10 2003/08/02 16:55:59 gdalsnes Exp $
+/* $Id: input.c,v 1.11 2003/08/04 16:56:40 gdalsnes Exp $
  *
  * PROJECT:         ReactOS user32.dll
  * FILE:            lib/user32/windows/input.c
 
 /* FUNCTIONS *****************************************************************/
 
+
+/*
+ * @unimplemented
+ */
+WINBOOL
+STDCALL
+DragDetect(
+  HWND hWnd,
+  POINT pt)
+{
+  return NtUserDragDetect(hWnd, pt.x, pt.y);
+}
+
+
 /*
  * @unimplemented
  */
index 2a10348..816c250 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: window.c,v 1.49 2003/07/28 08:09:51 ekohl Exp $
+/* $Id: window.c,v 1.50 2003/08/04 16:56:40 gdalsnes Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS user32.dll
@@ -722,8 +722,7 @@ DeferWindowPos(HDWP hWinPosInfo,
               int cy,
               UINT uFlags)
 {
-  UNIMPLEMENTED;
-  return (HDWP)0;
+  return NtUserDeferWindowPos(hWinPosInfo, hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);
 }
 
 
@@ -1056,8 +1055,7 @@ GetGUIThreadInfo(DWORD idThread,
 HWND STDCALL
 GetLastActivePopup(HWND hWnd)
 {
-  UNIMPLEMENTED;
-  return (HWND)0;
+  return NtUserGetLastActivePopup(hWnd);
 }
 
 
@@ -1067,7 +1065,7 @@ GetLastActivePopup(HWND hWnd)
 HWND STDCALL
 GetParent(HWND hWnd)
 {
-  return NtUserGetAncestor(hWnd, GA_PARENT);
+  return NtUserGetParent(hWnd);
 }
 
 
@@ -1095,25 +1093,24 @@ GetTitleBarInfo(HWND hwnd,
 
 
 /*
- * @unimplemented
+ * @implemented
  */
 HWND STDCALL
 GetTopWindow(HWND hWnd)
 {
-  UNIMPLEMENTED;
-  return (HWND)0;
+  if (!hWnd) hWnd = GetDesktopWindow();
+  return GetWindow( hWnd, GW_CHILD );
 }
 
 
 /*
- * @unimplemented
+ * @implemented
  */
 HWND STDCALL
 GetWindow(HWND hWnd,
          UINT uCmd)
 {
-  UNIMPLEMENTED;
-  return (HWND)0;
+  return NtUserGetWindow(hWnd, uCmd);
 }