Send full path name and debug information in load_dll event.

This commit is contained in:
Alexandre Julliard 2000-06-08 00:58:50 +00:00
parent a37dec0c7e
commit ec77b8387f

View file

@ -964,9 +964,9 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags)
SNOOP_RegisterDLL(wm->module,wm->modname,wm->binfmt.pe.pe_export->NumberOfFunctions); SNOOP_RegisterDLL(wm->module,wm->modname,wm->binfmt.pe.pe_export->NumberOfFunctions);
req->handle = hFile; req->handle = hFile;
req->base = (void *)hModule32; req->base = (void *)hModule32;
req->dbg_offset = 0; req->dbg_offset = PE_HEADER(hModule32)->FileHeader.PointerToSymbolTable;
req->dbg_size = 0; req->dbg_size = PE_HEADER(hModule32)->FileHeader.NumberOfSymbols;
req->name = &wm->modname; req->name = &wm->filename;
server_call_noerr( REQ_LOAD_DLL ); server_call_noerr( REQ_LOAD_DLL );
CloseHandle( hFile ); CloseHandle( hFile );
return wm; return wm;