30 ok(!!
hwnd,
"Line %d: CreateWindowA failed\n",
pEntry->lineno);
34 (
ret ?
"non-zero" :
"zero"));
42#define STYLE_0 WS_OVERLAPPEDWINDOW
43#define STYLE_1 (WS_OVERLAPPEDWINDOW | WS_MAXIMIZE)
44#define STYLE_2 (WS_OVERLAPPEDWINDOW | WS_MINIMIZE)
45#define STYLE_3 (WS_OVERLAPPEDWINDOW | WS_VISIBLE)
46#define STYLE_4 (WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_MAXIMIZE)
47#define STYLE_5 (WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_MINIMIZE)
51#define SW_2 SW_MAXIMIZE
52#define SW_3 SW_MINIMIZE
53#define SW_4 SW_RESTORE
55#define SW_6 SW_SHOWDEFAULT
56#define SW_7 SW_SHOWMAXIMIZED
57#define SW_8 SW_SHOWMINIMIZED
58#define SW_9 SW_SHOWMINNOACTIVE
59#define SW_10 SW_SHOWNA
60#define SW_11 SW_SHOWNOACTIVATE
61#define SW_12 SW_SHOWNORMAL
static void DoTestEntry(const TEST_ENTRY *pEntry)
static const CHAR s_name[]
static const TEST_ENTRY s_entries[]
static LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
#define ok_int(expression, result)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
#define WS_OVERLAPPEDWINDOW
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
#define GetWindowLongPtrA
ATOM WINAPI RegisterClassA(_In_ CONST WNDCLASSA *)
BOOL WINAPI DestroyWindow(_In_ HWND)