krnl386: Load gdi.exe and user.exe also when initializing universal thunks.

This commit is contained in:
Alexandre Julliard 2010-06-08 12:46:28 +02:00
parent 9eea385a0e
commit a8c4edc8dc
1 changed files with 8 additions and 0 deletions

View File

@ -241,6 +241,14 @@ BOOL WINAPI UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
UTINFO *ut;
HMODULE16 hModule16;
FARPROC16 target16, init16;
static int done;
if (!done)
{
LoadLibrary16( "gdi.exe" );
LoadLibrary16( "user.exe" );
done = TRUE;
}
/* Load 16-bit DLL and get UTProc16 entry point */