Author: greatlrd
Date: Sat May 24 13:56:57 2008
New Revision: 33674
URL:
http://svn.reactos.org/svn/reactos?rev=33674&view=rev
Log:
Implement GdiAddGlsBounds
Modified:
branches/win32k-gdi-dx/dll/win32/gdi32/misc/misc.c
branches/win32k-gdi-dx/dll/win32/gdi32/misc/stubs.c
Modified: branches/win32k-gdi-dx/dll/win32/gdi32/misc/misc.c
URL:
http://svn.reactos.org/svn/reactos/branches/win32k-gdi-dx/dll/win32/gdi32/m…
==============================================================================
--- branches/win32k-gdi-dx/dll/win32/gdi32/misc/misc.c [iso-8859-1] (original)
+++ branches/win32k-gdi-dx/dll/win32/gdi32/misc/misc.c [iso-8859-1] Sat May 24 13:56:57
2008
@@ -223,3 +223,15 @@
{
NtCurrentTeb ()->LastErrorValue = (ULONG) dwErrCode;
}
+
+/*
+ * @implemented
+ */
+BOOL
+STDCALL
+GdiAddGlsBounds(HDC hdc,LPRECT prc)
+{
+ //FIXME: Lookup what 0x8000 means
+ return NtGdiSetBoundsRect(hdc, prc, 0x8000 | DCB_ACCUMULATE ) ? TRUE : FALSE;
+}
+
Modified: branches/win32k-gdi-dx/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/branches/win32k-gdi-dx/dll/win32/gdi32/m…
==============================================================================
--- branches/win32k-gdi-dx/dll/win32/gdi32/misc/stubs.c [iso-8859-1] (original)
+++ branches/win32k-gdi-dx/dll/win32/gdi32/misc/stubs.c [iso-8859-1] Sat May 24 13:56:57
2008
@@ -1114,17 +1114,7 @@
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-GdiAddGlsBounds(HDC hdc,LPRECT prc)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
-}
+
/*
* @unimplemented