dbghelp: Allow loading PE module with 64bit addresses.

This commit is contained in:
Eric Pouech 2010-10-09 08:50:50 +02:00 committed by Alexandre Julliard
parent 8e48cd1ad7
commit 1e141eee4f
2 changed files with 2 additions and 2 deletions

View File

@ -578,7 +578,7 @@ extern BOOL path_find_symbol_file(const struct process* pcs, PCSTR full_
extern BOOL pe_load_nt_header(HANDLE hProc, DWORD64 base, IMAGE_NT_HEADERS* nth); extern BOOL pe_load_nt_header(HANDLE hProc, DWORD64 base, IMAGE_NT_HEADERS* nth);
extern struct module* extern struct module*
pe_load_native_module(struct process* pcs, const WCHAR* name, pe_load_native_module(struct process* pcs, const WCHAR* name,
HANDLE hFile, DWORD base, DWORD size); HANDLE hFile, DWORD64 base, DWORD size);
extern struct module* extern struct module*
pe_load_builtin_module(struct process* pcs, const WCHAR* name, pe_load_builtin_module(struct process* pcs, const WCHAR* name,
DWORD64 base, DWORD64 size); DWORD64 base, DWORD64 size);

View File

@ -733,7 +733,7 @@ BOOL pe_load_debug_info(const struct process* pcs, struct module* module)
* *
*/ */
struct module* pe_load_native_module(struct process* pcs, const WCHAR* name, struct module* pe_load_native_module(struct process* pcs, const WCHAR* name,
HANDLE hFile, DWORD base, DWORD size) HANDLE hFile, DWORD64 base, DWORD size)
{ {
struct module* module = NULL; struct module* module = NULL;
BOOL opened = FALSE; BOOL opened = FALSE;