IDebugSymbols4::GetScopeEx method (dbgeng.h)

Gets the scope as an extended frame structure.

Syntax

HRESULT GetScopeEx(
  [out, optional] PULONG64              InstructionOffset,
  [out, optional] PDEBUG_STACK_FRAME_EX ScopeFrame,
  [out]           PVOID                 ScopeContext,
  [in]            ULONG                 ScopeContextSize
);

Parameters

[out, optional] InstructionOffset

The offset of the instruction for the scope.

[out, optional] ScopeFrame

The scope frame returned as a DEBUG_STACK_FRAME_EX structure.

[out] ScopeContext

A pointer to the scope context returned.

[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