Author: jimtabor
Date: Tue Sep 18 01:02:19 2007
New Revision: 29085
URL:
http://svn.reactos.org/svn/reactos?rev=29085&view=rev
Log:
Fixed Client Info structure. Moved it to the right file so user apps can access it.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/include/misc.h
Modified: trunk/reactos/include/reactos/win32k/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntuser.h (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h Tue Sep 18 01:02:19 2007
@@ -72,6 +72,21 @@
PDESKTOP Desktop;
ULONG_PTR DesktopHeapDelta;
} W32THREADINFO, *PW32THREADINFO;
+
+/* Window Client Information structure */
+typedef struct _W32CLIENTINFO
+{
+ ULONG Win32ClientInfo0[2];
+ ULONG ulWindowsVersion;
+ ULONG ulAppCompatFlags;
+ ULONG ulAppCompatFlags2;
+ ULONG Win32ClientInfo1[5];
+ HWND hWND;
+ PVOID pvWND;
+ ULONG Win32ClientInfo2[50];
+} W32CLIENTINFO, *PW32CLIENTINFO;
+
+#define GetWin32ClientInfo() (PW32CLIENTINFO)(NtCurrentTeb()->Win32ClientInfo)
PW32THREADINFO GetW32ThreadInfo(VOID);
PW32PROCESSINFO GetW32ProcessInfo(VOID);
Modified: trunk/reactos/subsystems/win32/win32k/include/misc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/misc.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/misc.h Tue Sep 18 01:02:19 2007
@@ -8,19 +8,4 @@
ULONG FASTCALL IntSystemParametersInfo(UINT uiAction, UINT uiParam, PVOID pvParam, UINT
fWinIni);
-/* Window Client Information structure */
-typedef struct _W32CLTINFO_TEB
-{
- ULONG Win32ClientInfo0[2];
- ULONG ulWindowsVersion;
- ULONG ulAppCompatFlags;
- ULONG ulAppCompatFlags2;
- ULONG Win32ClientInfo1[5];
- HWND hWND;
- PVOID pvWND;
- ULONG Win32ClientInfo2[50];
-} W32CLTINFO_TEB, *PW32CLTINFO_TEB;
-
-#define GetWin32ClientInfo() (PW32CLTINFO_TEB)(NtCurrentTeb()->Win32ClientInfo)
-
#endif /* __WIN32K_MISC_H */