Now correctly checking calling down to 32 bit version.

This commit is contained in:
Eric Pouech 2005-11-29 11:45:16 +01:00 committed by Alexandre Julliard
parent 4350357634
commit 8bd3c060ec
1 changed files with 1 additions and 2 deletions

View File

@ -397,8 +397,7 @@ DWORD64 WINAPI SymLoadModuleEx(HANDLE hProcess, HANDLE hFile, PCSTR ImageName,
DWORD WINAPI SymLoadModule64(HANDLE hProcess, HANDLE hFile, char* ImageName, DWORD WINAPI SymLoadModule64(HANDLE hProcess, HANDLE hFile, char* ImageName,
char* ModuleName, DWORD64 BaseOfDll, DWORD SizeOfDll) char* ModuleName, DWORD64 BaseOfDll, DWORD SizeOfDll)
{ {
FIXME("SymLoadModule should probably reference SymLoadModule64 instead of this way\n"); if (!validate_addr64(BaseOfDll)) return FALSE;
return SymLoadModule(hProcess, hFile, ImageName, ModuleName, (DWORD)BaseOfDll, SizeOfDll); return SymLoadModule(hProcess, hFile, ImageName, ModuleName, (DWORD)BaseOfDll, SizeOfDll);
} }