mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[Win32k]
- Do not override WH_JOURNALPLAYBACK results if zero. svn path=/trunk/; revision=49270
This commit is contained in:
parent
4f65bd047d
commit
f5258132f4
|
@ -582,7 +582,11 @@ UserCallNextHookEx( PHOOK Hook,
|
|||
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 @@ UserCallNextHookEx( PHOOK Hook,
|
|||
DPRINT1("Unsupported HOOK Id -> %d\n",Hook->HookId);
|
||||
break;
|
||||
}
|
||||
if (Hook->HookId == WH_JOURNALPLAYBACK && lResult == 0)
|
||||
lResult = -1;
|
||||
return lResult;
|
||||
}
|
||||
|
||||
|
@ -1005,8 +1007,6 @@ co_HOOK_CallHooks( INT HookId,
|
|||
DPRINT("Ret: Global HookId %d Result 0x%x\n", HookId,Result);
|
||||
}
|
||||
Exit:
|
||||
if (HookId == WH_JOURNALPLAYBACK && Result == 0)
|
||||
Result = -1;
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue