#include <windows.h>
#include <user32.h>
+#define NDEBUG
#include <debug.h>
/* FUNCTIONS *****************************************************************/
CONST RECT *lpRect,
WINBOOL bErase)
{
- return FALSE;
+ return NtUserInvalidateRect( hWnd, lpRect, bErase );
}
WINBOOL
HRGN hRgn,
WINBOOL bErase)
{
- return FALSE;
+ return NtUserInvalidateRgn( hWnd, hRgn, bErase );
}
+
WINBOOL
STDCALL
RedrawWindow(
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(
UpdateWindow(
HWND hWnd)
{
- return FALSE;
+ return NtUserUpdateWindow( hWnd );
}
WINBOOL
STDCALL