Compartilhar via


StackTrace (Windows CE 5.0)

Send Feedback

This function receives a stack trace for the process being debugged.

ULONG StackTrace(  ULONG FramePointer,  ULONG StackPointer,  ULONG ProgramCounter,  PEXTSTACKTRACE StackFrames,  ULONG Frames);

Parameters

  • FramePointer
    [in] Frame pointer.

    If you do not want to specify a frame pointer, set this value to zero.

  • StackPointer
    [in] Stack pointer.

    If you do not want to specify a stack pointer, set this value to zero.

  • ProgramCounter
    [in] Instruction pointer.

    If you do not want to specify an instruction pointer, set this value to zero.

  • StackFrames
    [in] Pointer to a buffer of EXTSTACKTRACE structures that is large enough to store the number of stack frames specified by the Frames parameter.

  • Frames
    [in] Maximum number of frames to fit in the buffer.

Return Values

This function returns the number of frames read in a buffer pointed to by the StackFrames parameter.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: WDbgExts_CE.h.
Link Library: Developer defined.

See Also

Debugger Extension Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.