From 4129e6e17fec40f6acd6cda89a86608bb3b3ad93 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Sun, 29 May 2005 20:02:42 +0000 Subject: [PATCH] Add SymLoadModule64. --- dlls/dbghelp/dbghelp.spec | 2 +- dlls/dbghelp/module.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/dbghelp/dbghelp.spec b/dlls/dbghelp/dbghelp.spec index c3d0c9567e..6accb2b962 100644 --- a/dlls/dbghelp/dbghelp.spec +++ b/dlls/dbghelp/dbghelp.spec @@ -70,7 +70,7 @@ @ stdcall SymGetTypeInfo(ptr long long long long ptr) @ stdcall SymInitialize(long str long) @ stdcall SymLoadModule(long long str str long long) -@ stub SymLoadModule64 +@ stdcall SymLoadModule64(long long str str long long long) @ stub SymLoadModuleEx @ stdcall SymMatchFileName(str str ptr ptr) @ stub SymMatchString diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c index 208c84cd24..8cec36366b 100644 --- a/dlls/dbghelp/module.c +++ b/dlls/dbghelp/module.c @@ -374,6 +374,17 @@ done: return module->module.BaseOfImage; } +/*********************************************************************** + * SymLoadModule64 (DBGHELP.@) + */ +DWORD WINAPI SymLoadModule64(HANDLE hProcess, HANDLE hFile, char* ImageName, + char* ModuleName, DWORD64 BaseOfDll, DWORD SizeOfDll) +{ + FIXME("SymLoadModule should probably reference SymLoadModule64 instead of this way\n"); + + return SymLoadModule(hProcess, hFile, ImageName, ModuleName, (DWORD)BaseOfDll, SizeOfDll); +} + /****************************************************************** * module_remove *