IDebugSymbols4::SetScopeEx method (dbgeng.h)

Sets the scope as an extended frame structure.

Syntax

HRESULT SetScopeEx(
  [in]           ULONG64               InstructionOffset,
  [in, optional] PDEBUG_STACK_FRAME_EX ScopeFrame,
  [in]           PVOID                 ScopeContext,
  [in]           ULONG                 ScopeContextSize
);

Parameters

[in] InstructionOffset

The offset of the instruction for the scope.

[in, optional] ScopeFrame

The scope frame to set as a DEBUG_STACK_FRAME_EX structure.

[in] ScopeContext

A pointer to a scope context.

[in] ScopeContextSize

The size of the scope context.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header dbgeng.h (include Dbgeng.h)

See also

DEBUG_STACK_FRAME_EX

IDebugSymbols4