Go to the source code of this file.
◆ START_TEST()
◆ Test_SetMapMode()
Definition at line 11 of file SetMapMode.c.
12{
14 SIZE WindowExt, ViewportExt;
17
19 ok(
hDC != 0,
"CreateCompatibleDC failed, skipping tests.\n");
21
24
31
36
37
54
55
60
62
63
67
68
72
73
77
78
82
84
85
89
90
100
101
106
107
108
111
112
121
122
127
128
132
133
138
139
143
144
149
150
154
155
160
161
165
166
171
172
176
177
182
183
187
188
189
190
198
208
216
223
226
230
235
240
245
250
253
255
264
265
266
267
283}
#define ok_long(expression, result)
#define ERROR_INVALID_PARAMETER
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)
BOOL WINAPI GetCurrentPositionEx(_In_ HDC, _Out_ LPPOINT)
BOOL WINAPI MoveToEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI SetWindowExtEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPSIZE)
BOOL WINAPI GetWindowExtEx(_In_ HDC, _Out_ LPSIZE)
BOOL WINAPI DeleteDC(_In_ HDC)
BOOL WINAPI GetViewportExtEx(_In_ HDC, _Out_ LPSIZE)
HDC WINAPI GetDC(_In_opt_ HWND)
Referenced by START_TEST().