Author: tkreuzer
Date: Thu Jul 26 19:59:44 2007
New Revision: 27852
URL:
http://svn.reactos.org/svn/reactos?rev=27852&view=rev
Log:
implement CreateDiscardableBitmap, calling NtGdiCreateCompatibleBitmap instead of
redirecting to NtGdiCreateDiscardableBitmap
Modified:
trunk/reactos/dll/win32/gdi32/gdi32.def
trunk/reactos/dll/win32/gdi32/objects/bitmap.c
Modified: trunk/reactos/dll/win32/gdi32/gdi32.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/gdi32.def?…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/gdi32.def (original)
+++ trunk/reactos/dll/win32/gdi32/gdi32.def Thu Jul 26 19:59:44 2007
@@ -60,7 +60,7 @@
CreateDIBPatternBrushPt@8
CreateDIBSection@24
CreateDIBitmap@24=NtGdiCreateDIBitmap@24
-CreateDiscardableBitmap@12=NtGdiCreateDiscardableBitmap@12
+CreateDiscardableBitmap@12
CreateEllipticRgn@16=NtGdiCreateEllipticRgn@16
CreateEllipticRgnIndirect@4=NtGdiCreateEllipticRgnIndirect@4
CreateEnhMetaFileA@16
Modified: trunk/reactos/dll/win32/gdi32/objects/bitmap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/bi…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/bitmap.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/bitmap.c Thu Jul 26 19:59:44 2007
@@ -101,3 +101,12 @@
}
return NULL;
}
+
+HBITMAP WINAPI
+CreateDiscardableBitmap(
+ HDC hDC,
+ INT Width,
+ INT Height)
+{
+ return NtGdiCreateCompatibleBitmap(hDC, Width, Height);
+}