From 16b5d11ec38820ed9401c4d76fc49060c8592df2 Mon Sep 17 00:00:00 2001 From: Gunnar Dalsnes Date: Wed, 10 Aug 2005 18:09:44 +0000 Subject: [PATCH] move W32PROCESS/W32THREAD into win32\include bcause they are win32k private structs svn path=/trunk/; revision=17262 --- reactos/include/ndk/psfuncs.h | 6 ++++++ reactos/include/ndk/pstypes.h | 3 +++ reactos/{include/win32k => subsys/win32k/include}/win32.h | 6 +----- reactos/subsys/win32k/include/win32k.h | 1 + reactos/subsys/win32k/w32k.h | 1 - 5 files changed, 11 insertions(+), 6 deletions(-) rename reactos/{include/win32k => subsys/win32k/include}/win32.h (88%) diff --git a/reactos/include/ndk/psfuncs.h b/reactos/include/ndk/psfuncs.h index c4cf113d29b..0c81bad8d3f 100644 --- a/reactos/include/ndk/psfuncs.h +++ b/reactos/include/ndk/psfuncs.h @@ -14,6 +14,12 @@ /* PROTOTYPES ****************************************************************/ +struct _W32THREAD* STDCALL +PsGetWin32Thread(VOID); + +struct _W32PROCESS* STDCALL +PsGetWin32Process(VOID); + PVOID STDCALL PsGetProcessWin32Process(PEPROCESS Process); diff --git a/reactos/include/ndk/pstypes.h b/reactos/include/ndk/pstypes.h index 05966abcaf5..cb67827b63f 100644 --- a/reactos/include/ndk/pstypes.h +++ b/reactos/include/ndk/pstypes.h @@ -91,6 +91,9 @@ typedef NTSTATUS /* TYPES *********************************************************************/ +struct _W32THREAD; +struct _W32PROCESS; + struct _ETHREAD; typedef struct _DESCRIPTOR_TABLE_ENTRY diff --git a/reactos/include/win32k/win32.h b/reactos/subsys/win32k/include/win32.h similarity index 88% rename from reactos/include/win32k/win32.h rename to reactos/subsys/win32k/include/win32.h index 52f3c05843e..ed900669f31 100644 --- a/reactos/include/win32k/win32.h +++ b/reactos/subsys/win32k/include/win32.h @@ -5,7 +5,7 @@ typedef struct _W32THREAD { - PVOID MessageQueue; + struct _USER_MESSAGE_QUEUE* MessageQueue; FAST_MUTEX WindowListLock; LIST_ENTRY WindowListHead; LIST_ENTRY W32CallbackListHead; @@ -35,9 +35,5 @@ typedef struct _W32PROCESS LONG UserObjects; } W32PROCESS, *PW32PROCESS; -PW32THREAD STDCALL -PsGetWin32Thread(VOID); -PW32PROCESS STDCALL -PsGetWin32Process(VOID); #endif /* __INCLUDE_NAPI_WIN32_H */ diff --git a/reactos/subsys/win32k/include/win32k.h b/reactos/subsys/win32k/include/win32k.h index a30d95d6fa6..7d9c0793108 100644 --- a/reactos/subsys/win32k/include/win32k.h +++ b/reactos/subsys/win32k/include/win32k.h @@ -9,6 +9,7 @@ /* INCLUDES ******************************************************************/ /* Internal Win32k Headers */ +#include #include #include #include diff --git a/reactos/subsys/win32k/w32k.h b/reactos/subsys/win32k/w32k.h index e96fa5c1df9..3c41bf06a70 100644 --- a/reactos/subsys/win32k/w32k.h +++ b/reactos/subsys/win32k/w32k.h @@ -39,7 +39,6 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; /* External Win32K Header */ #include -#include /* Internal Win32K Header */ #include "include/win32k.h"