17{
22
28
34
40
47
49 wp->length = 0;
55 ok(wp->length == 0,
"wp.length = %u\n", wp->length);
56
58 wp->length = 0;
64 ok(wp->length ==
sizeof(*wp),
"wp.length = %u\n", wp->length);
65 ok(wp->flags == 0,
"wp.flags = %x\n", wp->flags);
66
68 wp->length = 1;
74 ok(wp->length ==
sizeof(*wp),
"wp.length = %u\n", wp->length);
75 ok(wp->flags == 0,
"wp.flags = %x\n", wp->flags);
76
78 wp->length = sizeof(*wp) - 1;
84 ok(wp->length ==
sizeof(*wp),
"wp.length = %u\n", wp->length);
85 ok(wp->flags == 0,
"wp.flags = %x\n", wp->flags);
86
88 wp->length = sizeof(*wp) + 1;
94 ok(wp->length ==
sizeof(*wp),
"wp.length = %u\n", wp->length);
95 ok(wp->flags == 0,
"wp.flags = %x\n", wp->flags);
96
98 wp->length = sizeof(*wp);
104 ok(wp->length ==
sizeof(*wp),
"wp.length = %u\n", wp->length);
105 ok(wp->flags == 0,
"wp.flags = %x\n", wp->flags);
107 ok(wp->ptMinPosition.x == -1,
"wp.ptMinPosition.x = %ld\n", wp->ptMinPosition.x);
108 ok(wp->ptMinPosition.y == -1,
"wp.ptMinPosition.x = %ld\n", wp->ptMinPosition.y);
109 ok(wp->ptMaxPosition.x == -1,
"wp.ptMaxPosition.x = %ld\n", wp->ptMaxPosition.x);
110 ok(wp->ptMaxPosition.y == -1,
"wp.ptMaxPosition.y = %ld\n", wp->ptMaxPosition.y);
111 ok(wp->rcNormalPosition.left == 0,
"wp.rcNormalPosition.left = %ld\n", wp->rcNormalPosition.left);
112 ok(wp->rcNormalPosition.top == 0,
"wp.rcNormalPosition.top = %ld\n", wp->rcNormalPosition.top);
113 ok(wp->rcNormalPosition.right != 0 &&
114 wp->rcNormalPosition.right != 0x55555555, "wp.rcNormalPosition.right = %ld\n", wp->rcNormalPosition.right);
115 ok(wp->rcNormalPosition.bottom != 0 &&
116 wp->rcNormalPosition.bottom != 0x55555555, "wp.rcNormalPosition.bottom = %ld\n", wp->rcNormalPosition.bottom);
117}
#define ALIGN_UP_BY(size, align)
#define FillMemory(BUF, SIZ, MASK)
unsigned __int3264 UINT_PTR
DWORD WINAPI GetLastError(void)
#define ERROR_INVALID_WINDOW_HANDLE
BOOL WINAPI GetWindowPlacement(_In_ HWND, _Inout_ WINDOWPLACEMENT *)
HWND WINAPI GetDesktopWindow(void)
struct _WINDOWPLACEMENT WINDOWPLACEMENT