Author: tkreuzer
Date: Thu Dec 6 00:54:05 2007
New Revision: 31028
URL:
http://svn.reactos.org/svn/reactos?rev=31028&view=rev
Log:
fix compilation with GDI_DEBUG
Modified:
trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c Thu Dec 6 00:54:05 2007
@@ -112,7 +112,6 @@
#ifdef GDI_DEBUG
BOOLEAN STDCALL KiRosPrintAddress(PVOID Address);
VOID STDCALL KeRosDumpStackFrames(PULONG Frame, ULONG FrameCount);
-ULONG STDCALL KeRosGetStackFrames(PULONG Frames, ULONG FrameCount);
#endif
/*!
@@ -441,7 +440,7 @@
#ifdef GDI_DEBUG
memset ( GDIHandleAllocator[Index], 0xcd, GDI_STACK_LEVELS * sizeof(ULONG) );
- KeRosGetStackFrames ( GDIHandleAllocator[Index], GDI_STACK_LEVELS );
+ RtlCaptureStackBackTrace(2, GDI_STACK_LEVELS, (PVOID*)GDIHandleAllocator[Index],
NULL);
#endif /* GDI_DEBUG */
if(W32Process != NULL)