LoadLibraryEx: show a warning when called with unimplemented parm.
This commit is contained in:
parent
6da20b9d0e
commit
65064b9d60
|
@ -794,8 +794,14 @@ HMODULE32 WINAPI LoadLibraryEx32A(LPCSTR libname,HFILE32 hfile,DWORD flags)
|
||||||
HMODULE32 hmod;
|
HMODULE32 hmod;
|
||||||
hmod = MODULE_LoadLibraryEx32A(libname,PROCESS_Current(),hfile,flags);
|
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 */
|
/* initialize DLL just loaded */
|
||||||
if ( hmod >= 32 )
|
if ( hmod >= 32 )
|
||||||
MODULE_InitializeDLLs( PROCESS_Current(), hmod,
|
MODULE_InitializeDLLs( PROCESS_Current(), hmod,
|
||||||
DLL_PROCESS_ATTACH, (LPVOID)-1 );
|
DLL_PROCESS_ATTACH, (LPVOID)-1 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue