PDEBUG_STACK_PROVIDER_RECONSTRUCTSTACK callback function (dbgeng.h)
The ReconstructStack callback function queries dump stream provider on a per-thread basis.
CALLBACK* PDEBUG_STACK_PROVIDER_RECONSTRUCTSTACK ReconstructStack;
Syntax
PDEBUG_STACK_PROVIDER_RECONSTRUCTSTACK PdebugStackProviderReconstructstack;
HRESULT PdebugStackProviderReconstructstack(
[in] ULONG SystemThreadId,
[in] PDEBUG_STACK_FRAME_EX NativeFrames,
[in] ULONG CountNativeFrames,
[out] PSTACK_SYM_FRAME_INFO *StackSymFrames,
[out] PULONG StackSymFramesFilled
)
{...}
Parameters
[in] SystemThreadId
A system thread ID.
[in] NativeFrames
Native frames.
[in] CountNativeFrames
Specifies the number of native frames.
[out] StackSymFrames
A pointer to a symbol frames stack.
[out] StackSymFramesFilled
Symbol frames stack filled value.
Return value
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This function returns stack frames and symbolic data.
New in-line frames may be provided.
Stack dump provider must be enabled.
ReconstructStack is called PDEBUG_STACK_PROVIDER_RECONSTRUCTSTACK in the Dbgeng.h header file.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dbgeng.h (include Dbgeng.h) |