From 9a97a2e0aa803681f4a8db656a75f99bc7ac67ad Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Tue, 11 Nov 2003 21:04:55 +0000 Subject: [PATCH] - Removed 'Parameters' member of WINDOW_OBJECT structure as it's useless. svn path=/trunk/; revision=6622 --- reactos/subsys/win32k/include/window.h | 2 -- reactos/subsys/win32k/ntuser/window.c | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/reactos/subsys/win32k/include/window.h b/reactos/subsys/win32k/include/window.h index 5cd2cc9d3cd..0514943cfc1 100644 --- a/reactos/subsys/win32k/include/window.h +++ b/reactos/subsys/win32k/include/window.h @@ -44,8 +44,6 @@ typedef struct _WINDOW_OBJECT HMENU SystemMenu; /* Handle of the module that created the window. */ HINSTANCE Instance; - /* Unknown. */ - LPVOID Parameters; /* Entry in the thread's list of windows. */ LIST_ENTRY ListEntry; /* Pointer to the extra data associated with the window. */ diff --git a/reactos/subsys/win32k/ntuser/window.c b/reactos/subsys/win32k/ntuser/window.c index ff54f7579f4..9a1ed6b6d64 100644 --- a/reactos/subsys/win32k/ntuser/window.c +++ b/reactos/subsys/win32k/ntuser/window.c @@ -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.132 2003/11/11 20:28:21 gvg Exp $ +/* $Id: window.c,v 1.133 2003/11/11 21:04:55 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -495,7 +495,6 @@ IntCreateDesktopWindow(PWINSTATION_OBJECT WindowStation, WindowObject->Owner = NULL; WindowObject->IDMenu = 0; WindowObject->Instance = NULL; - WindowObject->Parameters = NULL; WindowObject->Self = Handle; WindowObject->MessageQueue = NULL; WindowObject->ExtraData = NULL; @@ -1463,7 +1462,6 @@ NtUserCreateWindowEx(DWORD dwExStyle, WindowObject->ContextHelpId = 0; WindowObject->IDMenu = (UINT)hMenu; WindowObject->Instance = hInstance; - WindowObject->Parameters = lpParam; WindowObject->Self = Handle; WindowObject->MessageQueue = PsGetWin32Thread()->MessageQueue; WindowObject->Parent = ParentWindow;