merge from win32k-gdi-dx r33674 Implement GdiAddGlsBounds
authorMagnus Olsen <magnus@greatlord.com>
Sat, 24 May 2008 19:02:23 +0000 (19:02 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Sat, 24 May 2008 19:02:23 +0000 (19:02 +0000)
svn path=/trunk/; revision=33675

reactos/dll/win32/gdi32/misc/misc.c
reactos/dll/win32/gdi32/misc/stubs.c

index f82be32..293d0fc 100644 (file)
@@ -226,3 +226,12 @@ GdiSetLastError(DWORD dwErrCode)
 {
     NtCurrentTeb ()->LastErrorValue = (ULONG) dwErrCode;
 }
+
+BOOL
+STDCALL
+GdiAddGlsBounds(HDC hdc,LPRECT prc)
+{
+    //FIXME: Lookup what 0x8000 means
+    return NtGdiSetBoundsRect(hdc, prc, 0x8000 |  DCB_ACCUMULATE ) ? TRUE : FALSE;
+}
+
index 297f8d5..febfa0e 100644 (file)
@@ -1084,20 +1084,6 @@ EndFormPage(HDC hdc)
        return 0;
 }
 
-
-
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-GdiAddGlsBounds(HDC hdc,LPRECT prc)
-{
-       UNIMPLEMENTED;
-       SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-       return 0;
-}
-
 /*
  * @unimplemented
  */