From a204f099c6ab14544bf50e8e4019245fa393e004 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Tue, 9 Feb 2010 19:45:22 +1100 Subject: [PATCH] dbghelp: Add stubs for SymGetLineFromName, SymGetLineFromName64, SymGetLineFromNameW64. --- dlls/dbghelp/dbghelp.spec | 6 +++--- dlls/dbghelp/symbol.c | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/dlls/dbghelp/dbghelp.spec b/dlls/dbghelp/dbghelp.spec index 825493ab27c..5ab6fb2125b 100644 --- a/dlls/dbghelp/dbghelp.spec +++ b/dlls/dbghelp/dbghelp.spec @@ -86,9 +86,9 @@ @ stdcall SymGetLineFromAddr(long long ptr ptr) @ stdcall SymGetLineFromAddr64(long double ptr ptr) @ stdcall SymGetLineFromAddrW64(long double ptr ptr) -@ stub SymGetLineFromName -@ stub SymGetLineFromName64 -@ stub SymGetLineFromNameW64 +@ stdcall SymGetLineFromName(long str str long ptr ptr) +@ stdcall SymGetLineFromName64(long str str long ptr ptr) +@ stdcall SymGetLineFromNameW64(long wstr wstr long ptr ptr) @ stdcall SymGetLineNext(long ptr) @ stdcall SymGetLineNext64(long ptr) @ stub SymGetLineNextW64 diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c index 0b66cdb71e3..07ba9a37cef 100644 --- a/dlls/dbghelp/symbol.c +++ b/dlls/dbghelp/symbol.c @@ -2037,3 +2037,27 @@ BOOL WINAPI SymEnumLines(HANDLE hProcess, ULONG64 base, PCSTR compiland, regfree(&re); return TRUE; } + +BOOL WINAPI SymGetLineFromName(HANDLE hProcess, PCSTR ModuleName, PCSTR FileName, + DWORD dwLineNumber, PLONG plDisplacement, PIMAGEHLP_LINE Line) +{ + FIXME("(%p) (%s, %s, %d %p %p): stub\n", hProcess, ModuleName, FileName, + dwLineNumber, plDisplacement, Line); + return FALSE; +} + +BOOL WINAPI SymGetLineFromName64(HANDLE hProcess, PCSTR ModuleName, PCSTR FileName, + DWORD dwLineNumber, PLONG lpDisplacement, PIMAGEHLP_LINE64 Line) +{ + FIXME("(%p) (%s, %s, %d %p %p): stub\n", hProcess, ModuleName, FileName, + dwLineNumber, lpDisplacement, Line); + return FALSE; +} + +BOOL WINAPI SymGetLineFromNameW64(HANDLE hProcess, PCWSTR ModuleName, PCWSTR FileName, + DWORD dwLineNumber, PLONG plDisplacement, PIMAGEHLP_LINEW64 Line) +{ + FIXME("(%p) (%s, %s, %d %p %p): stub\n", hProcess, debugstr_w(ModuleName), debugstr_w(FileName), + dwLineNumber, plDisplacement, Line); + return FALSE; +}