implement GetShellWindow() and SetShellWindow()

svn path=/trunk/; revision=5478
This commit is contained in:
Martin Fuchs
2003-08-09 08:42:35 +00:00
parent 4a9e04a0c8
commit 3eb9a3bce5
3 changed files with 33 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: desktop.c,v 1.17 2003/08/05 15:41:03 weiden Exp $
/* $Id: desktop.c,v 1.18 2003/08/09 08:42:35 mf Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS user32.dll
@@ -306,4 +306,33 @@ SwitchDesktop(
return NtUserSwitchDesktop(hDesktop);
}
/* globally stored handle to the shell window */
HWND hwndShellWindow = 0;
/*
* @implemented
*/
HWND STDCALL
GetShellWindow(VOID)
{
return hwndShellWindow;
}
/*
* @implemented
*/
BOOL STDCALL
SetShellWindow(HWND hwnd)
{
if (hwndShellWindow)
return FALSE;
hwndShellWindow = hwnd;
return TRUE;
}
/* EOF */

View File

@@ -591,7 +591,7 @@ SetRectEmpty@4
SetScrollInfo@16
SetScrollPos@16
SetScrollRange@20
;SetShellWindow
SetShellWindow@4
;SetShellWindowEx
SetSysColors@12
;SetSysColorsTemp

View File

@@ -324,7 +324,7 @@ GetScrollBarInfo=GetScrollBarInfo@12
GetScrollInfo=GetScrollInfo@12
GetScrollPos=GetScrollPos@8
GetScrollRange=GetScrollRange@16
;GetShellWindow
GetShellWindow=GetShellWindow@0
GetSubMenu=GetSubMenu@8
GetSysColor=GetSysColor@4
GetSysColorBrush=GetSysColorBrush@4
@@ -591,7 +591,7 @@ SetRectEmpty=SetRectEmpty@4
SetScrollInfo=SetScrollInfo@16
SetScrollPos=SetScrollPos@16
SetScrollRange=SetScrollRange@20
;SetShellWindow
SetShellWindow=SetShellWindow@4
;SetShellWindowEx
SetSysColors=SetSysColors@12
;SetSysColorsTemp