17 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL, 0, 0, 0, 0, 0,
NULL,
NULL,
NULL,
NULL);
20 ok(dwError == 0,
"error = %lu\n", dwError);
24 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL, 0, 0, 0, 0, 0, (
HWND)(
LONG_PTR)-1,
NULL,
NULL,
NULL);
30 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL,
WS_CHILD, 0, 0, 0, 0,
NULL,
NULL,
NULL,
NULL);
36 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL,
WS_CHILD, 0, 0, 0, 0, (
HWND)(
LONG_PTR)-1,
NULL,
NULL,
NULL);
42 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL,
WS_POPUP, 0, 0, 0, 0,
NULL,
NULL,
NULL,
NULL);
45 ok(dwError == 0,
"error = %lu\n", dwError);
49 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL,
WS_POPUP, 0, 0, 0, 0, (
HWND)(
LONG_PTR)-1,
NULL,
NULL,
NULL);
55 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL,
WS_CHILD|
WS_POPUP, 0, 0, 0, 0,
NULL,
NULL,
NULL,
NULL);
58 ok(dwError == 0,
"error = %lu\n", dwError);
62 hWnd =
CreateWindowExW(0,
L"BUTTON",
NULL,
WS_CHILD|
WS_POPUP, 0, 0, 0, 0, (
HWND)(
LONG_PTR)-1,
NULL,
NULL,
NULL);
98#define ok_hex_(expression, result) \
100 int _value = (expression); \
101 ok_(__FILE__, g_FaultLine)(_value == (result), "Wrong value for '%s', expected: " #result " (0x%x), got: 0x%x\n", \
102 #expression, (int)(result), _value); \
154 case WM_STYLECHANGING:
155 case WM_STYLECHANGED:
161 ok(
wParam == 0,
"expected wParam=0\n");
382 case WM_STYLECHANGING:
383 case WM_STYLECHANGED:
389 ok(
wParam == 0,
"expected wParam=0\n");
426 child =
CreateWindowExW(0,
L"Test_Message_Window_Child2",
L"",
WS_CHILD, 0, 0, 10, 10,
hWnd,
NULL, 0,
NULL);
444 case WM_STYLECHANGING:
445 case WM_STYLECHANGED:
451 ok(
wParam == 0,
"expected wParam=0\n");
693 case WM_STYLECHANGING:
694 case WM_STYLECHANGED:
700 ok(
wParam == 0,
"expected wParam=0\n");
803 mcs.szClass =
"Test_Message_MDI_Window_Child2";
815 case WM_STYLECHANGING:
816 case WM_STYLECHANGED:
822 ok(
wParam == 0,
"expected wParam=0\n");
867 case WM_STYLECHANGING:
868 case WM_STYLECHANGED:
874 ok(
wParam == 0,
"expected wParam=0\n");
static DWORD g_ChildExpectStyle
static HWND g_ChildWindow
static BOOL IsWindowsServer()
static LRESULT CALLBACK MSGTestProcMDI2(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK MSGTestProcMDI(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static DWORD g_ChildNcExpectStyle
static DWORD g_NcExpectExStyle
static DWORD g_ExpectStyle
static DWORD g_ChildExpectExStyle
static MSG_ENTRY create_chain_modify_below8_nonsrv[]
static LRESULT CALLBACK MSGChildProcMDI2(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
MSG_ENTRY child_create_chain[]
MSG_ENTRY child_create_chain_modify_below8_nonsrv[]
static int get_iwnd(HWND hWnd)
#define ok_hex_(expression, result)
static BOOL IsWindows8OrGreater()
static LRESULT CALLBACK MSGTestProc2(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
MSG_ENTRY child_create_chain_modify[]
static void Test_Messages(void)
static LRESULT CALLBACK MSGChildProc2(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static void Test_Messages_MDI_Child(void)
MSG_ENTRY create_chain_MDI[]
static HWND g_hwndMDIClient
static LRESULT CALLBACK MSGTestProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static MSG_ENTRY child_create_chain_MDI_below8[]
static MSG_ENTRY child_create_chain_MDI[]
static void Test_Messages_Child(void)
static DWORD g_NcExpectStyle
static DWORD g_ChildNcExpectExStyle
static void Test_Messages_MDI(void)
static void Test_Params(void)
static MSG_ENTRY create_chain_modify[]
static MSG_ENTRY create_chain[]
static DWORD g_ExpectExStyle
static MSG_ENTRY child_create_chain_MDI_below8_nonsrv[]
static struct myctx * mcs
BOOL WINAPI VerifyVersionInfoW(IN LPOSVERSIONINFOEXW lpVersionInformation, IN DWORD dwTypeMask, IN DWORDLONG dwlConditionMask)
unsigned long long DWORDLONG
static const struct access_res create[16]
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
static BOOL IsDWmMsg(UINT msg)
#define RECORD_MESSAGE(...)
#define COMPARE_CACHE(msg_chain)
static BOOL IseKeyMsg(UINT msg)
#define VER_GREATER_EQUAL
#define VER_SERVICEPACKMAJOR
#define WS_OVERLAPPEDWINDOW
ULONGLONG NTAPI VerSetConditionMask(IN ULONGLONG ConditionMask, IN ULONG TypeMask, IN UCHAR Condition)
#define _WIN32_WINNT_WIN8
static __inline ATOM RegisterSimpleClass(WNDPROC lpfnWndProc, LPCWSTR lpszClassName)
DWORD WINAPI GetLastError(void)
#define ERROR_TLW_WITH_WSCHILD
#define ERROR_INVALID_WINDOW_HANDLE
CREATESTRUCTA * LPCREATESTRUCT
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define WM_WINDOWPOSCHANGING
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define WM_IME_SETCONTEXT
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
#define WS_EX_OVERLAPPEDWINDOW
#define WM_WINDOWPOSCHANGED
BOOL WINAPI DestroyWindow(_In_ HWND)
#define VER_NT_WORKSTATION