ntdll: Add RtlCaptureStackBackTrace stub.

This commit is contained in:
Andrey Turkin 2009-01-12 03:34:30 +03:00 committed by Alexandre Julliard
parent a0f681ad4c
commit d2685e7bd7
3 changed files with 26 additions and 2 deletions

View file

@ -921,7 +921,7 @@
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
@ stdcall ResumeThread(long)
@ stdcall -register RtlCaptureContext(ptr) ntdll.RtlCaptureContext
# @ stub RtlCaptureStackBackTrace ( -> ntdll.RtlCaptureStackBackTrace)
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
@ stdcall -arch=x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
@ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory

View file

@ -585,6 +585,30 @@ ULONG WINAPI RtlRemoveVectoredExceptionHandler( PVOID handler )
}
/*************************************************************************
* RtlCaptureStackBackTrace [NTDLL.@]
*
* Captures stack backtrace
*
* PARAMS
* Skip [I] Number of stack frames to skip before starting a capture
* Count [I] Number of stack frames to capture into Buffer
* Buffer [O] Array of backtrace pointers captured from stack
* Hash [O] Optional pointer to variable where backtrace hash should be stored
*
* RETURNS
* Number of captured stack frames or 0 if error occurred
*
* NOTES
* Unimplemented
*/
USHORT WINAPI RtlCaptureStackBackTrace(ULONG Skip, ULONG Count, PVOID *Buffer, ULONG *Hash)
{
FIXME("(%d, %d, %p, %p) stub!\n", Skip, Count, Buffer, Hash);
return 0;
}
/*************************************************************
* __wine_spec_unimplemented_stub
*

View file

@ -434,7 +434,7 @@
@ stdcall RtlAssert(ptr ptr long long)
# @ stub RtlCancelTimer
@ stdcall -register RtlCaptureContext(ptr)
@ stub RtlCaptureStackBackTrace
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr)
# @ stub RtlCaptureStackContext
@ stdcall RtlCharToInteger(ptr long ptr)
# @ stub RtlCheckForOrphanedCriticalSections