Use free Windows DDK and compile with latest MinGW releases.
[reactos.git] / reactos / lib / user32 / windows / paint.c
1 /*
2 * ReactOS kernel
3 * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /* $Id: paint.c,v 1.7 2002/09/07 15:12:45 chorns Exp $
20 *
21 * PROJECT: ReactOS user32.dll
22 * FILE: lib/user32/windows/input.c
23 * PURPOSE: Input
24 * PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
25 * UPDATE HISTORY:
26 * 09-05-2001 CSH Created
27 */
28
29 /* INCLUDES ******************************************************************/
30
31 #include <user32.h>
32
33 /* FUNCTIONS *****************************************************************/
34
35 HDC
36 STDCALL
37 BeginPaint(
38 HWND hwnd,
39 LPPAINTSTRUCT lpPaint)
40 {
41 return NtUserBeginPaint(hwnd, lpPaint);
42 }
43 WINBOOL
44 STDCALL
45 EndPaint(
46 HWND hWnd,
47 CONST PAINTSTRUCT *lpPaint)
48 {
49 return NtUserEndPaint(hWnd, lpPaint);
50 }
51 int
52 STDCALL
53 ExcludeUpdateRgn(
54 HDC hDC,
55 HWND hWnd)
56 {
57 return 0;
58 }
59 WINBOOL
60 STDCALL
61 GetUpdateRect(
62 HWND hWnd,
63 LPRECT lpRect,
64 WINBOOL bErase)
65 {
66 return FALSE;
67 }
68
69 int
70 STDCALL
71 GetUpdateRgn(
72 HWND hWnd,
73 HRGN hRgn,
74 WINBOOL bErase)
75 {
76 return 0;
77 }
78 WINBOOL
79 STDCALL
80 InvalidateRect(
81 HWND hWnd,
82 CONST RECT *lpRect,
83 WINBOOL bErase)
84 {
85 return FALSE;
86 }
87
88 WINBOOL
89 STDCALL
90 InvalidateRgn(
91 HWND hWnd,
92 HRGN hRgn,
93 WINBOOL bErase)
94 {
95 return FALSE;
96 }
97 WINBOOL
98 STDCALL
99 RedrawWindow(
100 HWND hWnd,
101 CONST RECT *lprcUpdate,
102 HRGN hrgnUpdate,
103 UINT flags)
104 {
105 return FALSE;
106 }
107 WINBOOL
108 STDCALL
109 ScrollDC(
110 HDC hDC,
111 int dx,
112 int dy,
113 CONST RECT *lprcScroll,
114 CONST RECT *lprcClip,
115 HRGN hrgnUpdate,
116 LPRECT lprcUpdate)
117 {
118 return FALSE;
119 }
120 int
121 STDCALL
122 SetWindowRgn(
123 HWND hWnd,
124 HRGN hRgn,
125 WINBOOL bRedraw)
126 {
127 return 0;
128 }
129 WINBOOL
130 STDCALL
131 UpdateWindow(
132 HWND hWnd)
133 {
134 return FALSE;
135 }
136 WINBOOL
137 STDCALL
138 ValidateRect(
139 HWND hWnd,
140 CONST RECT *lpRect)
141 {
142 return FALSE;
143 }
144 WINBOOL
145 STDCALL
146 ValidateRgn(
147 HWND hWnd,
148 HRGN hRgn)
149 {
150 return FALSE;
151 }
152 int
153 STDCALL
154 GetWindowRgn(
155 HWND hWnd,
156 HRGN hRgn)
157 {
158 return 0;
159 }