PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION callback function (dbgeng.h)

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

CALLBACK* PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION BeginThreadStackReconstruction; 

Syntax

PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION PdebugStackProviderBeginthreadstackreconstruction;

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

Parameters

[in] StreamType

A stream type.

[in] MiniDumpStreamBuffer

A mini-dump stream buffer.

[in] 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

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