Skip to content
Snippets Groups Projects
Commit 8592e908 authored by eric pouech's avatar eric pouech Committed by Alexandre Julliard
Browse files

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

parent 706c5400
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
/******************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment