12{
15 SIZE WindowExt, ViewportExt;
16
17
18
20 ok(
hDC !=
NULL,
"CreateCompatibleDC failed. Skipping tests.\n");
22
27
32
37
42
47
52
57
62
63
68
77
79
80
85
87 ok(
hDC !=
NULL,
"CreateCompatibleDC failed. Skipping tests.\n");
89
90
91
92
93
94
99
100
101 WindowExt.
cx = WindowExt.
cy = 0;
106
107
108 WindowExt.
cx = WindowExt.
cy = 0;
113
114
118
119
121 WindowExt.
cx = WindowExt.
cy = 0;
124
125
130
131
134
135
136
137
141 &WindowExt);
145
146
150
151
156
157
158
159
160
161
162
163
164
168
169
170
171
172
177
178
182
183
189
190
194
195
201
202
207
208
212
213
217
218
219
220
221 WindowExt.
cx = WindowExt.
cy = 0;
224
225
226
227
231
232
236
237
238
239
240 WindowExt.
cx = WindowExt.
cy = 0;
243
244
245
246
250
251
255
256
257
258
259 WindowExt.
cx = WindowExt.
cy = 0;
262
263
264
265
269
270
274
275
276
277
278 WindowExt.
cx = WindowExt.
cy = 0;
281
282
283
284
288
289
293
294
295
296
297 WindowExt.
cx = WindowExt.
cy = 0;
300
301
302
303
307
308
311
313
314
315
317}
#define ok_long(expression, result)
#define ok_int(expression, result)
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
int WINAPI SetMapMode(_In_ HDC, _In_ int)
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
BOOL WINAPI SetViewportExtEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPSIZE)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI SetWindowExtEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPSIZE)
BOOL WINAPI DeleteDC(_In_ HDC)
BOOL WINAPI GetViewportExtEx(_In_ HDC, _Out_ LPSIZE)
HDC WINAPI GetDC(_In_opt_ HWND)