git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
branch update for HEAD-2003050101
[reactos.git]
/
lib
/
user32
/
windows
/
paint.c
diff --git
a/lib/user32/windows/paint.c
b/lib/user32/windows/paint.c
index
b2df394
..
059ff60
100644
(file)
--- a/
lib/user32/windows/paint.c
+++ b/
lib/user32/windows/paint.c
@@
-30,6
+30,7
@@
#include <windows.h>
#include <user32.h>
#include <windows.h>
#include <user32.h>
+#define NDEBUG
#include <debug.h>
/* FUNCTIONS *****************************************************************/
#include <debug.h>
/* FUNCTIONS *****************************************************************/
@@
-84,7
+85,7
@@
InvalidateRect(
CONST RECT *lpRect,
WINBOOL bErase)
{
CONST RECT *lpRect,
WINBOOL bErase)
{
- return
FALSE
;
+ return
NtUserInvalidateRect( hWnd, lpRect, bErase )
;
}
WINBOOL
}
WINBOOL
@@
-94,8
+95,9
@@
InvalidateRgn(
HRGN hRgn,
WINBOOL bErase)
{
HRGN hRgn,
WINBOOL bErase)
{
- return
FALSE
;
+ return
NtUserInvalidateRgn( hWnd, hRgn, bErase )
;
}
}
+
WINBOOL
STDCALL
RedrawWindow(
WINBOOL
STDCALL
RedrawWindow(
@@
-104,8
+106,17
@@
RedrawWindow(
HRGN hrgnUpdate,
UINT flags)
{
HRGN hrgnUpdate,
UINT flags)
{
- return FALSE;
+ NTSTATUS Status;
+
+ Status = NtUserRedrawWindow(hWnd, lprcUpdate, hrgnUpdate, flags);
+ if (! NT_SUCCESS(Status))
+ {
+ SetLastError(RtlNtStatusToDosError(Status));
+ }
+
+ return NT_SUCCESS(Status);
}
}
+
WINBOOL
STDCALL
ScrollDC(
WINBOOL
STDCALL
ScrollDC(
@@
-133,7
+144,7
@@
STDCALL
UpdateWindow(
HWND hWnd)
{
UpdateWindow(
HWND hWnd)
{
- return
FALSE
;
+ return
NtUserUpdateWindow( hWnd )
;
}
WINBOOL
STDCALL
}
WINBOOL
STDCALL