NE_LoadBuiltinModule: return error 21 if the module we loaded was a

32-bit builtin. This should help WinExec16 to do the right thing.
This commit is contained in:
Alexandre Julliard 2003-11-26 04:13:53 +00:00
parent 2fdc4dc5dd
commit 77b8c0a42f

View File

@ -1169,7 +1169,8 @@ static HMODULE16 NE_LoadBuiltinModule( LPCSTR name )
{
if ((descr = find_dll_descr( dllname )))
return NE_DoLoadBuiltinModule( descr );
if (GetModuleHandleA( dllname ))
return 21; /* Win32 module */
ERR( "loaded .so but dll %s still not found\n", dllname );
}
else