mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
Send full path name and debug information in load_dll event.
This commit is contained in:
parent
a37dec0c7e
commit
ec77b8387f
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue