Author: fireball
Date: Mon Oct 25 16:35:17 2010
New Revision: 49274
URL: http://svn.reactos.org/svn/reactos?rev=49274&view=rev
Log:
- Delete msvc6 branch. There are better ways of building ReactOS with MSVC being explored now.
Removed:
branches/msvc6/
Author: jimtabor
Date: Mon Oct 25 02:51:09 2010
New Revision: 49270
URL: http://svn.reactos.org/svn/reactos?rev=49270&view=rev
Log:
[Win32k]
- Do not override WH_JOURNALPLAYBACK results if zero.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/hook.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/hook.c [iso-8859-1] Mon Oct 25 02:51:09 2010
@@ -582,7 +582,11 @@
break;
}
break;
-
+/*
+ Note WH_JOURNALPLAYBACK,
+ "To have the system wait before processing the message, the return value
+ must be the amount of time, in clock ticks, that the system should wait."
+ */
case WH_JOURNALPLAYBACK:
case WH_JOURNALRECORD:
{
@@ -660,8 +664,6 @@
DPRINT1("Unsupported HOOK Id -> %d\n",Hook->HookId);
break;
}
- if (Hook->HookId == WH_JOURNALPLAYBACK && lResult == 0)
- lResult = -1;
return lResult;
}
@@ -1005,8 +1007,6 @@
DPRINT("Ret: Global HookId %d Result 0x%x\n", HookId,Result);
}
Exit:
- if (HookId == WH_JOURNALPLAYBACK && Result == 0)
- Result = -1;
return Result;
}
Author: jimtabor
Date: Mon Oct 25 00:15:35 2010
New Revision: 49268
URL: http://svn.reactos.org/svn/reactos?rev=49268&view=rev
Log:
[User32]
- One more leftover to add. Now we test for both Local and Global hooks in user32. This will force any message sent to win32k if there are any Global hookers so we loose in performance. We need to rethink our usage of these Global hookers in our code.
Modified:
trunk/reactos/dll/win32/user32/include/user32.h
Modified: trunk/reactos/dll/win32/user32/include/user32.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/include/u…
==============================================================================
--- trunk/reactos/dll/win32/user32/include/user32.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/include/user32.h [iso-8859-1] Mon Oct 25 00:15:35 2010
@@ -169,7 +169,7 @@
static __inline BOOL
IsThreadHooked(PCLIENTINFO pci)
{
- return pci->fsHooks != 0;
+ return (pci->fsHooks|pci->pDeskInfo->fsHooks) != 0;
}
static __inline PDESKTOPINFO