Commit 8592e908 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent 706c5400
......@@ -677,12 +677,17 @@ BOOL WINAPI SymSetScopeFromIndex(HANDLE hProcess, ULONG64 addr, DWORD index)
*/
BOOL WINAPI SymSetScopeFromInlineContext(HANDLE hProcess, ULONG64 addr, DWORD inlinectx)
{
struct process* pcs;
FIXME("(%p %#I64x %u): stub\n", hProcess, addr, inlinectx);
TRACE("(%p %I64x %x)\n", hProcess, addr, inlinectx);
if (!(pcs = process_find_by_handle(hProcess))) return FALSE;
return TRUE;
switch (IFC_MODE(inlinectx))
{
case IFC_MODE_IGNORE:
case IFC_MODE_REGULAR: return SymSetScopeFromAddr(hProcess, addr);
case IFC_MODE_INLINE:
default:
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
}
/******************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment