Go to the source code of this file.
◆ APIRGN
◆ METARGN
◆ RGN5
◆ SYSRGN
◆ START_TEST()
Definition at line 346 of file GetRandomRgn.c.
347{
348
349
351 100, 100, 100, 100,
NULL,
NULL, 0, 0);
354 {
356 return;
357 }
358
365
366}
void Test_GetRandomRgn_APIRGN()
void Test_GetRandomRgn_RGN5()
void Test_GetRandomRgn_Params()
void Test_GetRandomRgn_SYSRGN()
void Test_GetRandomRgn_METARGN()
void Test_GetRandomRgn_CLIPRGN()
#define WS_OVERLAPPEDWINDOW
HDC WINAPI GetDC(_In_opt_ HWND)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
◆ Test_GetRandomRgn_APIRGN()
| void Test_GetRandomRgn_APIRGN |
( |
| ) |
|
◆ Test_GetRandomRgn_CLIPRGN()
| void Test_GetRandomRgn_CLIPRGN |
( |
| ) |
|
Definition at line 108 of file GetRandomRgn.c.
109{
114
116 if (!hrgn1)
117 {
118 printf(
"Coun't create a region\n");
119 return;
120 }
121
124 {
125 printf(
"Coun't create a dc\n");
126 return;
127 }
128
136
147
158
160
168
169
172}
#define ok_long(expression, result)
#define ok_int(expression, result)
HRGN WINAPI CreateRectRgn(_In_ int, _In_ int, _In_ int, _In_ int)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
int WINAPI GetRandomRgn(_In_ HDC, _In_ HRGN, _In_ INT)
BOOL WINAPI DeleteDC(_In_ HDC)
int WINAPI SelectClipRgn(_In_ HDC, _In_opt_ HRGN)
int WINAPI GetRgnBox(_In_ HRGN, _Out_ LPRECT)
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
Referenced by START_TEST().
◆ Test_GetRandomRgn_METARGN()
| void Test_GetRandomRgn_METARGN |
( |
| ) |
|
◆ Test_GetRandomRgn_Params()
| void Test_GetRandomRgn_Params |
( |
| ) |
|
Definition at line 19 of file GetRandomRgn.c.
20{
24
27 {
28 printf(
"Coun't create a dc\n");
29 return;
30 }
31
34 {
35 printf(
"Coun't create a region\n");
36 return;
37 }
38
43
48
53
58
63
68
73#if 0
78#endif
83
88
93
98
103
106}
#define ERROR_INVALID_HANDLE
DWORD WINAPI GetLastError(void)
Referenced by START_TEST().
◆ Test_GetRandomRgn_RGN5()
| void Test_GetRandomRgn_RGN5 |
( |
| ) |
|
Definition at line 264 of file GetRandomRgn.c.
265{
273
275 if (!hrgn1)
276 {
277 printf(
"Coun't create a region\n");
278 return;
279 }
280
283 {
284 printf(
"Coun't create a dc\n");
285 return;
286 }
287#if 0
295
306#endif
307
318
319#if 0
329
331
340#endif
341
344}
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L)
BOOL WINAPI DPtoLP(_In_ HDC hdc, _Inout_updates_(c) LPPOINT lppt, _In_ int c)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HBITMAP WINAPI CreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
Referenced by START_TEST().
◆ Test_GetRandomRgn_SYSRGN()
| void Test_GetRandomRgn_SYSRGN |
( |
| ) |
|
Definition at line 182 of file GetRandomRgn.c.
183{
189
191 if (!hrgn1)
192 {
193 printf(
"Coun't create a region\n");
194 return;
195 }
196
199 {
200 printf(
"Coun't create a dc\n");
201 return;
202 }
203
211
222
233
239#if 0
244#endif
245
247
252#if 0
257#endif
258
261
262}
Referenced by START_TEST().
◆ ghdcWindow
◆ ghwnd