PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES callback function

The FreeStackSymFrames callback function frees memory from a stack provider.

C++
 CALLBACK* PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES FreeStackSymFrames;

Syntax

PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES PdebugStackProviderFreestacksymframes;

HRESULT PdebugStackProviderFreestacksymframes(
  PSTACK_SYM_FRAME_INFO StackSymFrames
)
{...}

Parameters

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

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

See also

EndThreadStackReconstruction