-/* $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
}
-/*
- * @unimplemented
- */
-WINBOOL
-STDCALL
-DragDetect(
- HWND hwnd,
- POINT pt)
-{
- UNIMPLEMENTED;
- return FALSE;
-}
/*
* 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
*/
-/* $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
int cy,
UINT uFlags)
{
- UNIMPLEMENTED;
- return (HDWP)0;
+ return NtUserDeferWindowPos(hWinPosInfo, hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);
}
HWND STDCALL
GetLastActivePopup(HWND hWnd)
{
- UNIMPLEMENTED;
- return (HWND)0;
+ return NtUserGetLastActivePopup(hWnd);
}
HWND STDCALL
GetParent(HWND hWnd)
{
- return NtUserGetAncestor(hWnd, GA_PARENT);
+ return NtUserGetParent(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);
}