Don't call SNOOP_RegisterDLL on builtins.

This commit is contained in:
Alexandre Julliard 2001-07-12 02:46:55 +00:00
parent aeb92b1ca3
commit ca4fa36584
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule, LPCSTR filename, DWORD flags,
return NULL;
}
if (pe_export)
if (!builtin && pe_export)
SNOOP_RegisterDLL( hModule, wm->modname, pe_export->Base, pe_export->NumberOfFunctions );
/* Send DLL load event */