mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 20:21:22 +00:00
added an ASSERT to W32kIsDesktopWindow()
svn path=/trunk/; revision=5419
This commit is contained in:
parent
c6f66985bf
commit
e4dec071c1
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: window.c,v 1.75 2003/08/04 16:54:54 gdalsnes Exp $
|
/* $Id: window.c,v 1.76 2003/08/04 21:21:13 royce Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -260,6 +260,7 @@ BOOL FASTCALL
|
||||||
W32kIsDesktopWindow(PWINDOW_OBJECT WindowObject)
|
W32kIsDesktopWindow(PWINDOW_OBJECT WindowObject)
|
||||||
{
|
{
|
||||||
BOOL IsDesktop;
|
BOOL IsDesktop;
|
||||||
|
ASSERT(WindowObject);
|
||||||
IsDesktop = WindowObject->Parent == NULL;
|
IsDesktop = WindowObject->Parent == NULL;
|
||||||
return(IsDesktop);
|
return(IsDesktop);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue