Implement GetDesktopWindow()

svn path=/trunk/; revision=4743
This commit is contained in:
Richard Campbell 2003-05-23 16:44:12 +00:00
parent c3234a4ad8
commit 832463b116
5 changed files with 11 additions and 5 deletions

View file

@ -542,5 +542,6 @@ NtUserWaitMessage 0
NtUserWin32PoolAllocationStats 6
NtUserWindowFromPoint 2
NtUserYieldTask 0
NtUserGetDesktopWindow 0
# ReactOS only system calls
NtUserAcquireOrReleaseInputOwnership 1

View file

@ -17,6 +17,8 @@ HANDLE STDCALL
NtUserGetProp(HWND hWnd, ATOM Atom);
BOOL STDCALL
NtUserGetClientOrigin(HWND hWnd, LPPOINT Point);
HWND STDCALL
NtUserGetDesktopWindow();
NTSTATUS
STDCALL

View file

@ -1,4 +1,4 @@
/* $Id: window.c,v 1.33 2003/05/19 20:11:17 gvg Exp $
/* $Id: window.c,v 1.34 2003/05/23 16:44:12 rcampbell Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS user32.dll
@ -723,8 +723,7 @@ GetClientRect(HWND hWnd, LPRECT lpRect)
HWND STDCALL
GetDesktopWindow(VOID)
{
UNIMPLEMENTED;
return (HWND)0;
return NtUserGetDesktopWindow();
}
HWND STDCALL

View file

@ -108,7 +108,6 @@ BOOL FASTCALL W32kIsChildWindow (HWND Parent, HWND Child);
HWND FASTCALL W32kGetDesktopWindow (VOID);
HWND FASTCALL W32kGetFocusWindow (VOID);
VOID FASTCALL W32kSetFocusWindow (HWND hWnd);
#endif /* __WIN32K_WINDOW_H */
/* EOF */

View 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: window.c,v 1.45 2003/05/18 17:16:17 ea Exp $
/* $Id: window.c,v 1.46 2003/05/23 16:44:12 rcampbell Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -1389,4 +1389,9 @@ NtUserWindowFromPoint(DWORD Unknown0,
return 0;
}
HWND STDCALL
NtUserGetDesktopWindow()
{
return W32kGetDesktopWindow();
}
/* EOF */