Author: greatlrd
Date: Sun Sep 2 17:31:41 2007
New Revision: 28773
URL:
http://svn.reactos.org/svn/reactos?rev=28773&view=rev
Log:
partly implement SetBoundsRect
Modified:
trunk/reactos/dll/win32/gdi32/misc/stubs.c
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sun Sep 2 17:31:41 2007
@@ -203,19 +203,16 @@
}
/*
- * @unimplemented
+ * @implemented
*/
UINT
STDCALL
-SetBoundsRect(
- HDC a0,
- CONST RECT *a1,
- UINT a2
- )
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+SetBoundsRect(HDC hdc,
+ CONST RECT *prc,
+ UINT flags)
+{
+ /* FIXME add check for vaildate the flags */
+ return NtGdiSetBoundsRect(hdc, *prc, flags
}