[ros-diffs] [jimtabor] 26566: Allow for the deallocation of the local DC structure once the new create I and DC are ready.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Sun Apr 29 01:40:51 CEST 2007


Author: jimtabor
Date: Sun Apr 29 03:40:51 2007
New Revision: 26566

URL: http://svn.reactos.org/svn/reactos?rev=26566&view=rev
Log:
Allow for the deallocation of the local DC structure once the new create I and DC are ready.

Modified:
    trunk/reactos/dll/win32/gdi32/misc/misc.c
    trunk/reactos/dll/win32/gdi32/misc/stubs.c

Modified: trunk/reactos/dll/win32/gdi32/misc/misc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/misc.c?rev=26566&r1=26565&r2=26566&view=diff
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/misc.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/misc.c Sun Apr 29 03:40:51 2007
@@ -123,3 +123,26 @@
 }
 
 
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GdiReleaseDC(HDC hdc)
+{
+	GdiReleaseLocalDC(hdc);
+	return 0;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GdiReleaseLocalDC(HDC hdc)
+{
+	return 0;
+}
+
+

Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs.c?rev=26566&r1=26565&r2=26566&view=diff
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sun Apr 29 03:40:51 2007
@@ -1774,30 +1774,6 @@
 BOOL
 STDCALL
 GdiIsPlayMetafileDC(HDC hdc)
-{
-	UNIMPLEMENTED;
-	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-	return 0;
-}
-
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-GdiReleaseDC(HDC hdc)
-{
-	UNIMPLEMENTED;
-	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-	return 0;
-}
-
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-GdiReleaseLocalDC(HDC hdc)
 {
 	UNIMPLEMENTED;
 	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);




More information about the Ros-diffs mailing list