Share via


IOsAxsThread::GetCallStack (Windows Embedded CE 6.0)

1/5/2010

This method retrieves the call stack for a specified thread.

Syntax

HRESULT GetCallStack(
  [in] DWORD dwStartingFrameNb,
  [in] DWORD dwEndingFrameNb,
  [in] IeXdi2EnumCpuRegs* piOsAxsEnumCpuRegThreadCtx,
  [in] IOsAxsProcess* piOsAxsCurProc,
  [out] IeXdi2EnumCpuRegs** ppiOsAxsEnumCpuRegThreadCtxNew,
  [out] IOsAxsProcess** ppiOsAxsCurProcNew,
  [out] DWORD* pdwNbActualFramesRead,
  [out, size_is(,*pdwNbActualFramesRead)] FRAME_TYPE ** ppframeList
);

Parameters

  • dwStartingFrameNb
    Starting frame number to get in the call stack.
  • dwEndingFrameNb
    Ending frame number to get in the call stack.
  • piOsAxsEnumCpuRegThreadCtx
    Pointer to the starting frame of the thread context.
  • piOsAxsCurProc
    Pointer to the starting frame of the current process.
  • ppiOsAxsEnumCpuRegThreadCtxNew
    Pointer to the ending frame of the thread context.
  • ppiOsAxsCurProcNew
    Pointer to the ending frame of the current process.
  • pdwNbActualFramesRead
    Value of the frame read.

    This value is less than or equal to (dwEndingFrameNb*dwStartingFrameNb + 1).

  • ppframeList
    Pointer to the list of frames.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the function was successful.

E_FAIL

Indicates an unspecified failure.

Requirements

Header OsAcess.h
Library OSAXSC.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IOsAxsThread
IOsAxs Interfaces