mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
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:
parent
2fdc4dc5dd
commit
77b8c0a42f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user