Author: hbelusca
Date: Fri Feb 6 23:29:09 2015
New Revision: 66185
URL:
http://svn.reactos.org/svn/reactos?rev=66185&view=rev
Log:
[WINSRV]: Remove a long standing hack (added 4 years ago) that is now useless.
CORE-5138 #comment Hack from r51460 finally removed.
Modified:
trunk/reactos/win32ss/user/winsrv/init.c
Modified: trunk/reactos/win32ss/user/winsrv/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/init.c…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/init.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/init.c [iso-8859-1] Fri Feb 6 23:29:09 2015
@@ -9,33 +9,12 @@
/* INCLUDES *******************************************************************/
-/* PSDK Headers */
-#include <stdarg.h>
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-#include <windef.h>
-#include <winuser.h>
+#include "winsrv.h"
#define NDEBUG
#include <debug.h>
-
/* ENTRY-POINT ****************************************************************/
-
-/*** HACK from win32csr... ***/
-static HHOOK hhk = NULL;
-
-LRESULT
-CALLBACK
-KeyboardHookProc(int nCode,
- WPARAM wParam,
- LPARAM lParam)
-{
- DPRINT1("KeyboardHookProc Processing!\n");
- return CallNextHookEx(hhk, nCode, wParam, lParam);
-}
-/*** END - HACK from win32csr... ***/
BOOL
WINAPI
@@ -47,21 +26,6 @@
UNREFERENCED_PARAMETER(dwReason);
UNREFERENCED_PARAMETER(lpReserved);
- if (DLL_PROCESS_ATTACH == dwReason)
- {
- DPRINT1("WINSRV - HACK: Use keyboard hook hack\n");
-/*** HACK from win32csr... ***/
-//
-// HACK HACK HACK ReactOS to BOOT! Initialization BUG ALERT! See bug 5655.
-//
- hhk = SetWindowsHookEx(WH_KEYBOARD_LL, KeyboardHookProc, NULL, 0);
-// BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT!
-// BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT!
-// BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT! BUG ALERT!
-
-/*** END - HACK from win32csr... ***/
- }
-
return TRUE;
}