|
#define | SPI_GETDESKWALLPAPER 0x0073 |
|
#define | WM_SYSTIMER 0x0118 |
|
#define | LONG_PTR INT_PTR |
|
#define | ULONG_PTR UINT_PTR |
|
#define | COUNTOF(arr) (sizeof(arr)/sizeof(arr[0])) |
|
#define | check_wnd_state(a, b, c, d) check_wnd_state_(__FILE__,__LINE__,a,b,c,d) |
|
#define | check_active_state(a, b, c) check_active_state_(__FILE__,__LINE__,a,b,c) |
|
#define | check_z_order(hwnd, next, prev, owner, topmost) |
|
#define | TEST_MOUSEACTIVATE(A, B) |
|
#define | SHOWSYSMETRIC(SM) trace(#SM "=%d\n", GetSystemMetrics(SM)) |
|
#define | parentdc_field_ok(t, w, r, f, got) |
|
#define | parentdc_todo_field_ok(t, w, r, f, got) |
|
#define | parentdc_rect_ok(t, w, r, got) |
|
#define | parentdc_win_ok(t, w, got) |
|
#define | parentdc_ok(t, got) |
|
#define | nothing_todo {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}} |
|
#define | expect_menu(window, menu) |
|
#define | expect_style(window, style) ok((ULONG)GetWindowLongA(window, GWL_STYLE) == (style), "expected style %x != %x\n", (LONG)(style), GetWindowLongA(window, GWL_STYLE)) |
|
#define | expect_ex_style(window, ex_style) ok((ULONG)GetWindowLongA(window, GWL_EXSTYLE) == (ex_style), "expected ex_style %x != %x\n", (LONG)(ex_style), GetWindowLongA(window, GWL_EXSTYLE)) |
|
#define | expect_gle_broken_9x(gle) |
|
#define | NUMBER_OF_THICK_CHILD_TESTS 16 |
|
#define | SET_FOREGROUND_STEAL_1 0x01 |
|
#define | SET_FOREGROUND_SET_1 0x02 |
|
#define | SET_FOREGROUND_STEAL_2 0x04 |
|
#define | SET_FOREGROUND_SET_2 0x08 |
|
#define | SET_FOREGROUND_INJECT 0x10 |
|
|
void | dump_region (HRGN hrgn) |
|
static | HWND (WINAPI *pGetAncestor)(HWND |
|
static | BOOL (WINAPI *pGetWindowInfo)(HWND |
|
static WINDOWINFO *static | UINT (WINAPI *pGetWindowModuleFileNameA)(HWND |
|
static | HMONITOR (WINAPI *pMonitorFromPoint)(POINT |
|
static | int (WINAPI *pGetWindowRgnBox)(HWND |
|
static | DWORD (WINAPI *pSetLayout)(HDC hdc |
|
static void | dump_minmax_info (const MINMAXINFO *minmax) |
|
static void | flush_events (BOOL remove_messages) |
|
static BOOL | wait_for_event (HANDLE event, int timeout) |
|
static void | check_parents (HWND hwnd, HWND ga_parent, HWND gwl_parent, HWND get_parent, HWND gw_owner, HWND ga_root, HWND ga_root_owner) |
|
static void | check_wnd_state_ (const char *file, int line, HWND active, HWND foreground, HWND focus, HWND capture) |
|
static void | check_active_state_ (const char *file, int line, HWND active, HWND foreground, HWND focus) |
|
static BOOL | ignore_message (UINT message) |
|
static BOOL CALLBACK | EnumChildProc (HWND hwndChild, LPARAM lParam) |
|
static BOOL CALLBACK | EnumChildProc1 (HWND hwndChild, LPARAM lParam) |
|
static HWND | create_tool_window (LONG style, HWND parent) |
|
static void | test_parent_owner (void) |
|
static BOOL CALLBACK | enum_proc (HWND hwnd, LPARAM lParam) |
|
static DWORD CALLBACK | enum_thread (void *arg) |
|
static void | test_enum_thread_windows (void) |
|
static LRESULT WINAPI | main_window_procA (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | main_window_procW (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | tool_window_procA (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static BOOL | RegisterWindowClasses (void) |
|
static void | verify_window_info (const char *hook, HWND hwnd, const WINDOWINFO *info) |
|
static void | FixedAdjustWindowRectEx (RECT *rc, LONG style, BOOL menu, LONG exstyle) |
|
static void | wine_AdjustWindowRectEx (RECT *rect, LONG style, BOOL menu, LONG exStyle) |
|
static void | test_nonclient_area (HWND hwnd) |
|
static LRESULT CALLBACK | cbt_hook_proc (int nCode, WPARAM wParam, LPARAM lParam) |
|
static void | test_shell_window (void) |
|
static void | test_MDI_create (HWND parent, HWND mdi_client, INT_PTR first_id) |
|
static void | test_MDI_child_stack (HWND mdi_client) |
|
static void | MDI_ChildGetMinMaxInfo (HWND client, HWND hwnd, MINMAXINFO *lpMinMax) |
|
static LRESULT WINAPI | mdi_child_wnd_proc_1 (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | mdi_child_wnd_proc_2 (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | mdi_main_wnd_procA (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static BOOL | mdi_RegisterWindowClasses (void) |
|
static void | test_mdi (void) |
|
static void | test_icons (void) |
|
static LRESULT WINAPI | nccalcsize_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | test_SetWindowPos (HWND hwnd, HWND hwnd2) |
|
static void | test_SetMenu (HWND parent) |
|
static void | test_window_tree (HWND parent, const DWORD *style, const int *order, int total) |
|
static void | test_children_zorder (HWND parent) |
|
static void | check_z_order_debug (HWND hwnd, HWND next, HWND prev, HWND owner, BOOL topmost, const char *file, int line) |
|
static void | test_popup_zorder (HWND hwnd_D, HWND hwnd_E, DWORD style) |
|
static void | test_vis_rgn (HWND hwnd) |
|
static LRESULT WINAPI | set_focus_on_activate_proc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) |
|
static void | test_SetFocus (HWND hwnd) |
|
static void | test_SetActiveWindow (HWND hwnd) |
|
static DWORD WINAPI | create_window_thread (void *param) |
|
static void | test_SetForegroundWindow (HWND hwnd) |
|
static LRESULT WINAPI | button_hook_proc (HWND button, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | test_capture_1 (void) |
|
static void | test_capture_2 (void) |
|
static void | test_capture_3 (HWND hwnd1, HWND hwnd2) |
|
static LRESULT CALLBACK | test_capture_4_proc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
|
static void | test_capture_4 (void) |
|
static BOOL | peek_message (MSG *msg) |
|
static void | test_keyboard_input (HWND hwnd) |
|
static BOOL | wait_for_message (MSG *msg) |
|
static void | test_mouse_input (HWND hwnd) |
|
static void | test_validatergn (HWND hwnd) |
|
static void | nccalchelper (HWND hwnd, INT x, INT y, RECT *prc) |
|
static void | test_nccalcscroll (HWND parent) |
|
static void | test_SetParent (void) |
|
static LRESULT WINAPI | StyleCheckProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | register_style_check_class (void) |
|
static void | check_window_style (DWORD dwStyleIn, DWORD dwExStyleIn, DWORD dwStyleOut, DWORD dwExStyleOut) |
|
static void | test_window_styles (void) |
|
static HWND | root_dialog (HWND hwnd) |
|
static INT_PTR WINAPI | empty_dlg_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static INT_PTR WINAPI | empty_dlg_proc3 (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static INT_PTR WINAPI | empty_dlg_proc2 (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | check_dialog_style (DWORD style_in, DWORD ex_style_in, DWORD style_out, DWORD ex_style_out) |
|
static void | test_dialog_styles (void) |
|
static INT_PTR WINAPI | parent_dlg_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static INT_PTR WINAPI | reparent_dlg_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static INT_PTR WINAPI | reparent_owned_dlg_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | reparent_dialog_owner_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | post_quit_dialog_owner_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | destroy_dialog_owner_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | test_dialog_parent (void) |
|
static void | test_scrollwindow (HWND hwnd) |
|
static void | test_scrollvalidate (HWND parent) |
|
static void | test_scroll (void) |
|
static void | test_scrolldc (HWND parent) |
|
static void | test_params (void) |
|
static void | test_AWRwindow (LPCSTR class, LONG style, LONG exStyle, BOOL menu) |
|
static BOOL | AWR_init (void) |
|
static void | test_AWR_window_size (BOOL menu) |
|
static void | test_AWR_flags (void) |
|
static void | test_AdjustWindowRect (void) |
|
static LRESULT WINAPI | redraw_window_procA (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | test_redrawnow (void) |
|
static LRESULT WINAPI | parentdc_window_procA (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | zero_parentdc_stat (struct parentdc_stat *t) |
|
static void | zero_parentdc_test (struct parentdc_test *t) |
|
static void | test_csparentdc (void) |
|
static LRESULT WINAPI | def_window_procA (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | def_window_procW (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | test_IsWindowUnicode (void) |
|
static LRESULT CALLBACK | minmax_wnd_proc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) |
|
static LRESULT CALLBACK | winsizes_wnd_proc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) |
|
static void | test_CreateWindow (void) |
|
static int | check_error (DWORD actual, DWORD expected) |
|
static void | test_SetWindowLong (void) |
|
static LRESULT WINAPI | check_style_wnd_proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
|
static void | test_set_window_style (void) |
|
static void | test_ShowWindow (void) |
|
static DWORD CALLBACK | gettext_msg_thread (LPVOID arg) |
|
static DWORD CALLBACK | settext_msg_thread (LPVOID arg) |
|
static void | test_gettext (void) |
|
static void | test_GetUpdateRect (void) |
|
static LRESULT CALLBACK | TestExposedRegion_WndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
|
static void | test_Expose (void) |
|
static LRESULT CALLBACK | TestNCRedraw_WndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
|
static void | run_NCRedrawLoop (UINT flags) |
|
static void | test_NCRedraw (void) |
|
static void | test_GetWindowModuleFileName (void) |
|
static void | test_hwnd_message (void) |
|
static void | test_layered_window (void) |
|
static LRESULT CALLBACK | fullscreen_wnd_proc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) |
|
static void | test_fullscreen (void) |
|
static LRESULT WINAPI | test_thick_child_size_winproc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | test_thick_child_size (HWND parentWindow) |
|
static void | test_handles (HWND full_hwnd) |
|
static void | test_winregion (void) |
|
static void | test_rtl_layout (void) |
|
static void | test_FlashWindow (void) |
|
static void | test_FlashWindowEx (void) |
|
static void | test_FindWindowEx (void) |
|
static void | test_GetLastActivePopup (void) |
|
static LRESULT WINAPI | my_httrasparent_proc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) |
|
static LRESULT WINAPI | my_window_proc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) |
|
static void | create_window_tree (HWND parent, HWND *window, int size) |
|
static void | get_window_attributes (HWND hwnd, struct window_attributes *attrs) |
|
static int | window_to_index (HWND hwnd, HWND *window, int size) |
|
static void | test_child_window_from_point (void) |
|
static void | simulate_click (int x, int y) |
|
static LRESULT WINAPI | static_hook_proc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) |
|
static void | window_from_point_proc (HWND parent) |
|
static void | test_window_from_point (const char *argv0) |
|
static void | test_map_points (void) |
|
static void | test_update_region (void) |
|
static void | test_window_without_child_style (void) |
|
static LRESULT WINAPI | smresult_wndproc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static DWORD WINAPI | smresult_thread_proc (void *param) |
|
static void | test_smresult (void) |
|
static void | test_GetMessagePos (void) |
|
static DWORD WINAPI | set_foreground_thread (void *params) |
|
static void | test_activateapp (HWND window1) |
|
static LRESULT WINAPI | winproc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | winproc_convA (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static LRESULT WINAPI | winproc_convW (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | test_winproc_handles (const char *argv0) |
|
static void | test_winproc_limit (void) |
|
static void | test_deferwindowpos (void) |
|
| START_TEST (win) |
|