From 326b3a11f85bdb1558ae8f4a190f46ddc8132160 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Fri, 30 May 2008 15:18:51 +0000 Subject: [PATCH] Use System Bitmap DC, like a stock object but a hDC one. svn path=/trunk/; revision=33772 --- reactos/subsystems/win32/win32k/include/intgdi.h | 2 ++ reactos/subsystems/win32/win32k/ntuser/ntstubs.c | 4 ++-- reactos/subsystems/win32/win32k/ntuser/winsta.c | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/subsystems/win32/win32k/include/intgdi.h b/reactos/subsystems/win32/win32k/include/intgdi.h index aa0edc3a33e..8c1f0935f2a 100644 --- a/reactos/subsystems/win32/win32k/include/intgdi.h +++ b/reactos/subsystems/win32/win32k/include/intgdi.h @@ -5,6 +5,8 @@ /* Brush functions */ +extern HDC hSystemBM; + XLATEOBJ* FASTCALL IntGdiCreateBrushXlate(PDC Dc, GDIBRUSHOBJ *BrushObj, BOOLEAN *Failed); diff --git a/reactos/subsystems/win32/win32k/ntuser/ntstubs.c b/reactos/subsystems/win32/win32k/ntuser/ntstubs.c index 08ca364cfe0..913c78dd62f 100644 --- a/reactos/subsystems/win32/win32k/ntuser/ntstubs.c +++ b/reactos/subsystems/win32/win32k/ntuser/ntstubs.c @@ -54,7 +54,7 @@ NtUserBitBltSysBmp( BOOL Ret = FALSE; UserEnterExclusive(); UNIMPLEMENTED -#if 0 + Ret = NtGdiBitBlt( hdc, nXDest, nYDest, @@ -66,7 +66,7 @@ NtUserBitBltSysBmp( dwRop, 0, 0); -#endif + UserLeave(); return Ret; } diff --git a/reactos/subsystems/win32/win32k/ntuser/winsta.c b/reactos/subsystems/win32/win32k/ntuser/winsta.c index 57a4522cdec..43da32dd673 100644 --- a/reactos/subsystems/win32/win32k/ntuser/winsta.c +++ b/reactos/subsystems/win32/win32k/ntuser/winsta.c @@ -290,7 +290,6 @@ IntGetWindowStationObject(PWINSTATION_OBJECT Object) return NT_SUCCESS(Status); } -extern HDC hSystemBM; BOOL FASTCALL co_IntInitializeDesktopGraphics(VOID)