Commit a8c4edc8 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 9eea385a
...@@ -241,6 +241,14 @@ BOOL WINAPI UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL, ...@@ -241,6 +241,14 @@ BOOL WINAPI UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
UTINFO *ut; UTINFO *ut;
HMODULE16 hModule16; HMODULE16 hModule16;
FARPROC16 target16, init16; 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 */ /* Load 16-bit DLL and get UTProc16 entry point */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment