Author: jimtabor
Date: Tue Oct 27 20:02:02 2009
New Revision: 43796
URL:
http://svn.reactos.org/svn/reactos?rev=43796&view=rev
Log:
- Move TI flages to main header file.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/include/win32.h
trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
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 [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Tue Oct 27 20:02:02 2009
@@ -118,6 +118,37 @@
UNICODE_STRING ModuleName; /* Module name for global hooks */
} HOOK, *PHOOK;
+/* THREADINFO Flags */
+#define TIF_INCLEANUP 0x00000001
+#define TIF_16BIT 0x00000002
+#define TIF_SYSTEMTHREAD 0x00000004
+#define TIF_CSRSSTHREAD 0x00000008
+#define TIF_TRACKRECTVISIBLE 0x00000010
+#define TIF_ALLOWFOREGROUNDACTIVATE 0x00000020
+#define TIF_DONTATTACHQUEUE 0x00000040
+#define TIF_DONTJOURNALATTACH 0x00000080
+#define TIF_WOW64 0x00000100
+#define TIF_INACTIVATEAPPMSG 0x00000200
+#define TIF_SPINNING 0x00000400
+#define TIF_PALETTEAWARE 0x00000800
+#define TIF_SHAREDWOW 0x00001000
+#define TIF_FIRSTIDLE 0x00002000
+#define TIF_WAITFORINPUTIDLE 0x00004000
+#define TIF_MOVESIZETRACKING 0x00008000
+#define TIF_VDMAPP 0x00010000
+#define TIF_DOSEMULATOR 0x00020000
+#define TIF_GLOBALHOOKER 0x00040000
+#define TIF_DELAYEDEVENT 0x00080000
+#define TIF_MSGPOSCHANGED 0x00100000
+#define TIF_SHUTDOWNCOMPLETE 0x00200000
+#define TIF_IGNOREPLAYBACKDELAY 0x00400000
+#define TIF_ALLOWOTHERACCOUNTHOOK 0x00800000
+#define TIF_GUITHREADINITIALIZED 0x02000000
+#define TIF_DISABLEIME 0x04000000
+#define TIF_INGETTEXTLENGTH 0x08000000
+#define TIF_ANSILENGTH 0x10000000
+#define TIF_DISABLEHOOKS 0x20000000
+
typedef struct _CALLBACKWND
{
HWND hWnd;
@@ -139,7 +170,7 @@
DWORD dwExpWinVer;
DWORD dwCompatFlags;
DWORD dwCompatFlags2;
- DWORD dwTIFlags;
+ DWORD dwTIFlags; // ThreadInfo TIF_Xxx flags for User space.
PDESKTOPINFO pDeskInfo;
ULONG_PTR ulClientDelta;
PHOOK phkCurrent;
Modified: trunk/reactos/subsystems/win32/win32k/include/win32.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/win32.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/win32.h [iso-8859-1] Tue Oct 27 20:02:02
2009
@@ -30,37 +30,6 @@
#define W32PF_NOWINDOWGHOSTING (0x01000000)
#define W32PF_MANUALGUICHECK (0x02000000)
#define W32PF_CREATEDWINORDC (0x04000000)
-
-/* THREADINFO Flags */
-#define TIF_INCLEANUP 0x00000001
-#define TIF_16BIT 0x00000002
-#define TIF_SYSTEMTHREAD 0x00000004
-#define TIF_CSRSSTHREAD 0x00000008
-#define TIF_TRACKRECTVISIBLE 0x00000010
-#define TIF_ALLOWFOREGROUNDACTIVATE 0x00000020
-#define TIF_DONTATTACHQUEUE 0x00000040
-#define TIF_DONTJOURNALATTACH 0x00000080
-#define TIF_WOW64 0x00000100
-#define TIF_INACTIVATEAPPMSG 0x00000200
-#define TIF_SPINNING 0x00000400
-#define TIF_PALETTEAWARE 0x00000800
-#define TIF_SHAREDWOW 0x00001000
-#define TIF_FIRSTIDLE 0x00002000
-#define TIF_WAITFORINPUTIDLE 0x00004000
-#define TIF_MOVESIZETRACKING 0x00008000
-#define TIF_VDMAPP 0x00010000
-#define TIF_DOSEMULATOR 0x00020000
-#define TIF_GLOBALHOOKER 0x00040000
-#define TIF_DELAYEDEVENT 0x00080000
-#define TIF_MSGPOSCHANGED 0x00100000
-#define TIF_SHUTDOWNCOMPLETE 0x00200000
-#define TIF_IGNOREPLAYBACKDELAY 0x00400000
-#define TIF_ALLOWOTHERACCOUNTHOOK 0x00800000
-#define TIF_GUITHREADINITIALIZED 0x02000000
-#define TIF_DISABLEIME 0x04000000
-#define TIF_INGETTEXTLENGTH 0x08000000
-#define TIF_ANSILENGTH 0x10000000
-#define TIF_DISABLEHOOKS 0x20000000
extern BOOL ClientPfnInit;
extern HINSTANCE hModClient;
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/misc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/misc.c [iso-8859-1] Tue Oct 27 20:02:02
2009
@@ -493,6 +493,7 @@
pci->ppi = ppi;
pci->fsHooks = pti->fsHooks;
if (pti->KeyboardLayout) pci->hKL = pti->KeyboardLayout->hkl;
+ pci->dwTIFlags = pti->TIF_flags;
/* CI may not have been initialized. */
if (!pci->pDeskInfo && pti->pDeskInfo)
{