Preload keyboard.drv when Windows version is Win9x.

This commit is contained in:
Alexandre Julliard 2004-04-21 22:30:08 +00:00
parent 31a7a7847e
commit f1e755db4b
1 changed files with 3 additions and 0 deletions

View File

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