dbghelp: Implement SymSetScopeFromInlineContext() when context isn't inlined.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-10-26 11:45:50 +02:00 committed by Alexandre Julliard
parent 706c5400e9
commit 8592e9088f
1 changed files with 10 additions and 5 deletions

View File

@ -677,12 +677,17 @@ BOOL WINAPI SymSetScopeFromIndex(HANDLE hProcess, ULONG64 addr, DWORD index)
*/ */
BOOL WINAPI SymSetScopeFromInlineContext(HANDLE hProcess, ULONG64 addr, DWORD inlinectx) BOOL WINAPI SymSetScopeFromInlineContext(HANDLE hProcess, ULONG64 addr, DWORD inlinectx)
{ {
struct process* pcs; TRACE("(%p %I64x %x)\n", hProcess, addr, inlinectx);
FIXME("(%p %#I64x %u): stub\n", hProcess, addr, inlinectx); switch (IFC_MODE(inlinectx))
{
if (!(pcs = process_find_by_handle(hProcess))) return FALSE; case IFC_MODE_IGNORE:
return TRUE; case IFC_MODE_REGULAR: return SymSetScopeFromAddr(hProcess, addr);
case IFC_MODE_INLINE:
default:
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
} }
/****************************************************************** /******************************************************************