Share via


StackTrace (Windows Embedded CE 6.0)

1/5/2010

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

Syntax

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 Value

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

Requirements

Header wdbgexts_ce.h
Library Developer Implemented
Windows Embedded CE Windows CE 3.0 and later

See Also

Concepts

Debugger Extension Functions