![]() |
Public API Reference |
![]() |
Call stack creation helper (Win32-specific) More...
#include <csutil/win32/callstack.h>
Static Public Member Functions | |
static csCallStack * | CreateCallStack (HANDLE hProc, HANDLE hThread, CONTEXT &context, int skip=0, bool fast=false) |
Create a call stack. |
Call stack creation helper (Win32-specific)
Definition at line 38 of file callstack.h.
static csCallStack* cswinCallStackHelper::CreateCallStack | ( | HANDLE | hProc, |
HANDLE | hThread, | ||
CONTEXT & | context, | ||
int | skip = 0 , |
||
bool | fast = false |
||
) | [static] |
Create a call stack.
Works similar to csCallStackHelper::CreateCallStack(), with the difference that you can provide some Win32-specific arguments here.
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. |
fast | Flag whether a fast call stack creation should be preferred (usually at the expense of retrieved information). |