Comment out a call to GdiReleaseDC() since it spams debug log with unimplemented...
authorAleksey Bragin <aleksey@reactos.org>
Sat, 30 Dec 2006 11:04:20 +0000 (11:04 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sat, 30 Dec 2006 11:04:20 +0000 (11:04 +0000)
svn path=/trunk/; revision=25248

reactos/dll/win32/user32/windows/dc.c

index f186219..4ad4a27 100644 (file)
@@ -87,8 +87,9 @@ ReleaseDC(
   //            if the DC was released return one.
 
   if (!hDC) return FALSE; // Null hDC return zero.
   //            if the DC was released return one.
 
   if (!hDC) return FALSE; // Null hDC return zero.
-  
-  GdiReleaseDC ( hDC ); // Release locals.
+
+  // FIXME: Uncomment once GdiReleaseDC() is implemented  
+  //GdiReleaseDC ( hDC ); // Release locals.
   // Win 3.1 throw back, hWnd should be ignored and not used.  
   // Replace with NtUserCallOneParam ((DWORD) hDC, ONEPARAM_ROUTINE_RELEASEDC);
   return NtUserReleaseDC(hWnd, hDC);
   // Win 3.1 throw back, hWnd should be ignored and not used.  
   // Replace with NtUserCallOneParam ((DWORD) hDC, ONEPARAM_ROUTINE_RELEASEDC);
   return NtUserReleaseDC(hWnd, hDC);