LoadLibraryEx: show a warning when called with unimplemented parm.

This commit is contained in:
Juergen Schmied 1998-11-15 12:15:07 +00:00 committed by Alexandre Julliard
parent 6da20b9d0e
commit 65064b9d60
1 changed files with 7 additions and 1 deletions

View File

@ -794,6 +794,12 @@ HMODULE32 WINAPI LoadLibraryEx32A(LPCSTR libname,HFILE32 hfile,DWORD flags)
HMODULE32 hmod;
hmod = MODULE_LoadLibraryEx32A(libname,PROCESS_Current(),hfile,flags);
/* at least call not the dllmain...*/
if ( DONT_RESOLVE_DLL_REFERENCES==flags || LOAD_LIBRARY_AS_DATAFILE==flags )
{ FIXME(module,"flag not properly supported %lx\n", flags);
return hmod;
}
/* initialize DLL just loaded */
if ( hmod >= 32 )
MODULE_InitializeDLLs( PROCESS_Current(), hmod,