LoadLibraryEx: show a warning when called with unimplemented parm.
This commit is contained in:
parent
6da20b9d0e
commit
65064b9d60
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue