From 60b1915ae7962ff340903bfda9380e3fe9b261d2 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 5 Dec 2007 21:54:05 +0000 Subject: [PATCH] fix compilation with GDI_DEBUG svn path=/trunk/; revision=31028 --- reactos/subsystems/win32/win32k/objects/gdiobj.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/objects/gdiobj.c b/reactos/subsystems/win32/win32k/objects/gdiobj.c index 0b76f3611dd..a2c57d78463 100644 --- a/reactos/subsystems/win32/win32k/objects/gdiobj.c +++ b/reactos/subsystems/win32/win32k/objects/gdiobj.c @@ -112,7 +112,6 @@ static LARGE_INTEGER ShortDelay; #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 @@ LockHandle: #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)