13{
17 RECT rc, rcChild1, rcChild2;
20
21
23 hWnd =
CreateWindowW(
L"STATIC",
L"TestWindow",
style,
CW_USEDEFAULT,
CW_USEDEFAULT, 100, 100,
NULL,
NULL, 0, 0);
26
27
31
36
42
43
49
50
55
56
60 hChild1 =
CreateWindowW(
L"STATIC",
L"Child1",
style,
x1,
y1, 10, 10,
hWnd,
NULL, 0, 0);
61 ok(hChild1 !=
NULL,
"hChild1 was NULL.\n");
63
64
68 hChild2 =
CreateWindowW(
L"STATIC",
L"Child2",
style,
x2,
y2, 10, 10,
hWnd,
NULL, 0, 0);
69 ok(hChild2 !=
NULL,
"hChild2 was NULL.\n");
71
72
77
78
86
87
92
93
98
99
107
112}
#define ok_long(expression, result)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
HRGN WINAPI CreateRectRgn(_In_ int, _In_ int, _In_ int, _In_ int)
#define SW_SCROLLCHILDREN
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
int WINAPI GetUpdateRgn(_In_ HWND, _In_ HRGN, _In_ BOOL)
BOOL WINAPI UpdateWindow(_In_ HWND)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
BOOL WINAPI DestroyWindow(_In_ HWND)
int WINAPI ScrollWindowEx(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT, _In_opt_ HRGN, _Out_opt_ LPRECT, _In_ UINT)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO