From 1871ebd28cfe9338d43e445f5dff2f9b12d8eefd Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sat, 25 Jul 2009 01:42:04 +0000 Subject: [PATCH] - Removed unused ppi pointer. svn path=/trunk/; revision=42186 --- reactos/include/reactos/win32k/ntuser.h | 4 +--- reactos/subsystems/win32/win32k/ntuser/window.c | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/reactos/include/reactos/win32k/ntuser.h b/reactos/include/reactos/win32k/ntuser.h index 4e268524540..4c9526971e1 100644 --- a/reactos/include/reactos/win32k/ntuser.h +++ b/reactos/include/reactos/win32k/ntuser.h @@ -263,7 +263,6 @@ typedef struct _WND eventually replace WINDOW_OBJECT. Right now WINDOW_OBJECT keeps a reference to this structure until all the information is moved to this structure */ - struct _PROCESSINFO *pi; // head.pti->ppi struct _W32THREADINFO *pti; // head.pti struct _DESKTOP *rpdesk; // head.rpdesk @@ -380,8 +379,7 @@ typedef struct _PFNCLIENTWORKER WNDPROC_EX pfnCtfHookProc; } PFNCLIENTWORKER, *PPFNCLIENTWORKER; -struct _WND; -typedef LONG_PTR (NTAPI *PFN_FNID)(struct _WND*, UINT, WPARAM, LPARAM, ULONG_PTR); +typedef LONG_PTR (NTAPI *PFN_FNID)(PWND, UINT, WPARAM, LPARAM, ULONG_PTR); // FNID's for NtUserSetWindowFNID, NtUserMessageCall #define FNID_FIRST 0x029A diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 6ca942fe157..43b513a8e2d 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -1673,7 +1673,6 @@ co_IntCreateWindowEx(DWORD dwExStyle, Wnd = Window->Wnd; Wnd->pti = ti; - Wnd->pi = ti->ppi; Wnd->rpdesk = pti->Desktop; Wnd->hWndLastActive = hWnd; }