CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

cswinCallStackHelper Class Reference

Call stack creation helper (Win32-specific). More...

#include <callstack.h>

List of all members.

Static Public Methods

csCallStack * CreateCallStack (HANDLE hProc, HANDLE hThread, CONTEXT &context, int skip=0)
 Create a call stack.


Detailed Description

Call stack creation helper (Win32-specific).

Remarks:
This class provides functionality specific to the Win32 platform. To ensure that code using this functionality compiles properly on all other platforms, the use of the class and inclusion of the header file should be surrounded by appropriate `if defined(OS_WIN32) ... endif' statements.

Definition at line 38 of file callstack.h.


Member Function Documentation

csCallStack* cswinCallStackHelper::CreateCallStack HANDLE    hProc,
HANDLE    hThread,
CONTEXT &    context,
int    skip = 0
[static]
 

Create a call stack.

Works similar to csCallStackHelper::CreateCallStack(), with the difference that you can provide some Win32-specific arguments here.

Parameters:
hProc  The process for which the call stack is created.
hThread  The thread for which the call stack is created.
context  Context information.
skip  The number of calls on the top of the stack to remove from the returned call stack. This can be used if e.g. the call stack is created from some helper function and the helper function itself should not appear in the stack.
Returns:
A call stack object.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18