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;
}