SymSetScopeFromInlineContext function dbghelp

Win32Result<bool> SymSetScopeFromInlineContext(
  1. HANDLE hProcess,
  2. int address,
  3. int inlineContext
)

Sets the local scope to the symbol that matches the specified address and inline context.

To learn more, see learn.microsoft.com/windows/win32/api/dbghelp/nf-dbghelp-symsetscopefrominlinecontext.

Implementation

Win32Result<bool> SymSetScopeFromInlineContext(
  HANDLE hProcess,
  int address,
  int inlineContext,
) {
  final result_ = SymSetScopeFromInlineContext_Wrapper(
    hProcess,
    address,
    inlineContext,
  );
  return .new(value: result_.value.i32 != FALSE, error: result_.error);
}