From f1e755db4b48ba2ca05f96c523f69d121559543c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 21 Apr 2004 22:30:08 +0000 Subject: [PATCH] Preload keyboard.drv when Windows version is Win9x. --- dlls/user/user_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/user/user_main.c b/dlls/user/user_main.c index de012959fa3..1aa1d99b7af 100644 --- a/dlls/user/user_main.c +++ b/dlls/user/user_main.c @@ -163,6 +163,9 @@ static BOOL process_attach(void) LocalInit16( USER_HeapSel, 32, 65534 ); } + /* some Win9x dlls expect keyboard to be loaded */ + if (GetVersion() & 0x80000000) LoadLibrary16( "keyboard.drv" ); + /* Load the graphics driver */ if (!load_driver()) return FALSE; -- 2.11.4.GIT