mirror of
https://github.com/reactos/reactos.git
synced 2024-07-30 16:18:43 +00:00
fix compilation with GDI_DEBUG
svn path=/trunk/; revision=31028
This commit is contained in:
parent
08cae5540c
commit
60b1915ae7
|
@ -112,7 +112,6 @@ static LARGE_INTEGER ShortDelay;
|
||||||
#ifdef GDI_DEBUG
|
#ifdef GDI_DEBUG
|
||||||
BOOLEAN STDCALL KiRosPrintAddress(PVOID Address);
|
BOOLEAN STDCALL KiRosPrintAddress(PVOID Address);
|
||||||
VOID STDCALL KeRosDumpStackFrames(PULONG Frame, ULONG FrameCount);
|
VOID STDCALL KeRosDumpStackFrames(PULONG Frame, ULONG FrameCount);
|
||||||
ULONG STDCALL KeRosGetStackFrames(PULONG Frames, ULONG FrameCount);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -441,7 +440,7 @@ LockHandle:
|
||||||
|
|
||||||
#ifdef GDI_DEBUG
|
#ifdef GDI_DEBUG
|
||||||
memset ( GDIHandleAllocator[Index], 0xcd, GDI_STACK_LEVELS * sizeof(ULONG) );
|
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 */
|
#endif /* GDI_DEBUG */
|
||||||
|
|
||||||
if(W32Process != NULL)
|
if(W32Process != NULL)
|
||||||
|
|
Loading…
Reference in a new issue