revert 24179 it was bad idea. and wrong way todo it on
authorMagnus Olsen <magnus@greatlord.com>
Mon, 18 Sep 2006 05:13:17 +0000 (05:13 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Mon, 18 Sep 2006 05:13:17 +0000 (05:13 +0000)
See issue #21478 for more details.

svn path=/trunk/; revision=24188

reactos/dll/win32/gdi32/include/precomp.h
reactos/dll/win32/gdi32/misc/stubs.c
reactos/dll/win32/gdi32/objects/dc.c

index 37765a4..aff53ed 100644 (file)
@@ -31,6 +31,4 @@
 /* Deprecated NTGDI calls which shouldn't exist */
 #include <win32k/ntgdibad.h>
 
 /* Deprecated NTGDI calls which shouldn't exist */
 #include <win32k/ntgdibad.h>
 
-#include <win32k/ntusrtyp.h>
-#include <win32k/ntuser.h>
 /* EOF */
 /* EOF */
index 0b23fd0..7a7a5ef 100644 (file)
@@ -1838,6 +1838,17 @@ GdiIsPlayMetafileDC(HDC hdc)
        return 0;
 }
 
        return 0;
 }
 
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GdiReleaseDC(HDC hdc)
+{
+       UNIMPLEMENTED;
+       SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+       return 0;
+}
 
 /*
  * @unimplemented
 
 /*
  * @unimplemented
index 328ad29..714f0fd 100644 (file)
@@ -458,13 +458,3 @@ GetObjectType(
     SetLastError(ERROR_INVALID_HANDLE);
   return Ret;
 }
     SetLastError(ERROR_INVALID_HANDLE);
   return Ret;
 }
-
-/*
- * @implemented
- */
-BOOL
-STDCALL
-GdiReleaseDC(HDC hdc)
-{      
-       return NtUserReleaseDC(NULL,hdc);
-}