IOsAxsThread::GetCallStack (Windows CE 5.0)

Send Feedback

This method retrieves the call stack for a specified thread.

HRESULT GetCallStack(  [in] DWORD dwStartingFrameNb,[in] DWORDdwEndingFrameNb,[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 Values

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

OS Version: Windows CE 5.0 and later.
Header: OsAcess.h.
Link Library: OSAXSC.lib.

See Also

IOsAxs Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.