SymSetScopeFromIndex function dbghelp
Sets the local scope to the symbol that matches the specified index.
To learn more, see learn.microsoft.com/windows/win32/api/dbghelp/nf-dbghelp-symsetscopefromindex.
Implementation
Win32Result<bool> SymSetScopeFromIndex(
HANDLE hProcess,
int baseOfDll,
int index,
) {
final result_ = SymSetScopeFromIndex_Wrapper(hProcess, baseOfDll, index);
return .new(value: result_.value.i32 != FALSE, error: result_.error);
}