Commit d2685e7b authored by Andrey Turkin's avatar Andrey Turkin Committed by Alexandre Julliard

ntdll: Add RtlCaptureStackBackTrace stub.

parent a0f681ad
......@@ -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
......
......@@ -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
*
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment