PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION callback function

The BeginThreadStackReconstruction callback function causes debugger to pass the stream to the dump stack provider prior to thread enumeration.

C++
CALLBACK* PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION BeginThreadStackReconstruction; 

Syntax

PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION PdebugStackProviderBeginthreadstackreconstruction;

HRESULT PdebugStackProviderBeginthreadstackreconstruction(
  ULONG StreamType,
  PVOID MiniDumpStreamBuffer,
  ULONG BufferSize
)
{...}

Parameters

StreamType

A stream type.

MiniDumpStreamBuffer

A mini-dump stream buffer.

BufferSize

The size of the buffer.

Return value

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

Remarks

BeginThreadStackReconstruction is called PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION in the Dbgeng.h header file.

Requirements

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