PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES callback function (dbgeng.h)

The FreeStackSymFrames callback function frees memory from a stack provider.

 CALLBACK* PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES FreeStackSymFrames;

Syntax

PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES PdebugStackProviderFreestacksymframes;

HRESULT PdebugStackProviderFreestacksymframes(
  [in, optional] PSTACK_SYM_FRAME_INFO StackSymFrames
)
{...}

Parameters

[in, optional] StackSymFrames

A stack to free.

Return value

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

Remarks

After FreeStackSymFrames is called, the debugger calls the stack provider to free memory.

FreeStackSymFrames is called PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES in the Dbgeng.h header file.

Requirements

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

See also

EndThreadStackReconstruction