45 ok(0,
"Got unexpected WM_SYSTIMER in the winproc. wParam=%d\n",
wParam);
96#define FLUSH_MESSAGES(expected, notexpected) \
97 { EXPECT_QUEUE_STATUS(expected, notexpected);\
157#define EXPECT_TME_FLAGS(hWnd, expected) \
158 { DWORD flags = TmeQuery(hWnd); \
159 ok(flags == (expected),"wrong tme flags. expected %li, and got %li\n", (DWORD)(expected), flags); \
162#define MOVE_CURSOR(x,y) mouse_event(MOUSEEVENTF_MOVE | MOUSEEVENTF_ABSOLUTE , \
163 x*(65535/GetSystemMetrics(SM_CXVIRTUALSCREEN)), \
164 y*(65535/GetSystemMetrics(SM_CYVIRTUALSCREEN)) , 0,0);
static MSG_ENTRY mousehover3_nomove_chain[]
static MSG_ENTRY mouseleave3to2_dropmouse_chain[]
static void FlushMessages()
void Test_TrackMouseEvent()
static MSG_ENTRY mousehover3_droptimer_chain[]
DWORD TmeQuery(HWND hwnd)
static MSG_ENTRY mouseleave3to2_dropmousell_chain[]
#define MOVE_CURSOR(x, y)
static HHOOK hMouseHookLL
static int get_iwnd(HWND hWnd)
LRESULT CALLBACK TmeTestProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static void TmeStartTracking(HWND hwnd, DWORD Flags)
static MSG_ENTRY mouseleave2to1_chain[]
static void destroy_test_window()
static MSG_ENTRY mousehover3_chain[]
#define EXPECT_TME_FLAGS(hWnd, expected)
static MSG_ENTRY mousehover3_dropmouse_chain[]
static MSG_ENTRY mousehover3_dropmousell_chain[]
static LRESULT CALLBACK MouseLLHookProc(int nCode, WPARAM wParam, LPARAM lParam)
static MSG_ENTRY mousemove2_chain[]
static LRESULT CALLBACK MouseHookProc(int nCode, WPARAM wParam, LPARAM lParam)
#define FLUSH_MESSAGES(expected, notexpected)
static void create_test_windows()
static MSG_ENTRY mouseleave2to3_chain[]
static MSG_ENTRY mousehover2_chain[]
static int ignore_mousell
static MSG_ENTRY mouseleave3_remainging_chain[]
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
static BOOL IsDWmMsg(UINT msg)
#define RECORD_MESSAGE(...)
#define COMPARE_CACHE(msg_chain)
static BOOL IseKeyMsg(UINT msg)
#define WS_OVERLAPPEDWINDOW
VOID WINAPI DECLSPEC_HOTPATCH Sleep(IN DWORD dwMilliseconds)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
static __inline ATOM RegisterSimpleClass(WNDPROC lpfnWndProc, LPCWSTR lpszClassName)
DWORD WINAPI GetCurrentThreadId(void)
BOOL WINAPI Rectangle(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
LRESULT WINAPI DispatchMessageA(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
HHOOK WINAPI SetWindowsHookExW(_In_ int, _In_ HOOKPROC, _In_opt_ HINSTANCE, _In_ DWORD)
BOOL WINAPI TrackMouseEvent(_Inout_ LPTRACKMOUSEEVENT)
#define WM_IME_SETCONTEXT
BOOL WINAPI UnhookWindowsHookEx(_In_ HHOOK)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
BOOL WINAPI UpdateWindow(_In_ HWND)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
BOOL WINAPI DestroyWindow(_In_ HWND)
_Must_inspect_result_ _In_ ULONG Flags