Also trace implicitly loaded dlls for +loaddll.

This commit is contained in:
Alexandre Julliard 2002-12-12 22:05:22 +00:00
parent dbf8b78acd
commit 309b37023d
1 changed files with 1 additions and 2 deletions

View File

@ -965,6 +965,7 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
if(hinst >= 32) if(hinst >= 32)
{ {
TRACE_(loaddll)("Loaded module '%s' : %s\n", libname, filetype);
if(!implicit) if(!implicit)
{ {
HMODULE16 hModule; HMODULE16 hModule;
@ -987,8 +988,6 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
} }
TRACE("Loaded module '%s' at 0x%04x.\n", libname, hinst); TRACE("Loaded module '%s' at 0x%04x.\n", libname, hinst);
if (!TRACE_ON(module))
TRACE_(loaddll)("Loaded module '%s' : %s\n", libname, filetype);
/* /*
* Call initialization routines for all loaded DLLs. Note that * Call initialization routines for all loaded DLLs. Note that