19#define TIMER_INTERVAL 200
65 trace(
"CloseWindow(hwnd): tracing...\n");
73 trace(
"CloseWindow(hwnd): tracing done\n");
94 trace(
"CloseWindow(hwnd): tracing...\n");
102 trace(
"CloseWindow(hwnd): tracing done\n");
123 trace(
"CloseWindow(hwnd): tracing...\n");
131 trace(
"CloseWindow(hwnd): tracing done\n");
180 ok(hCursor !=
NULL,
"hCursor was NULL\n");
190 ok(atom != 0,
"RegisterClassW failed\n");
194 skip(
"atom is zero\n");
208 skip(
"hwnd is NULL\n");
static INT s_nWM_SYSCOMMAND
static const WCHAR s_szClassName[]
static INT s_nWM_ACTIVATE
static void OnTimer(HWND hwnd, UINT id)
static void DoMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT s_nWM_NCACTIVATE
static INT s_nWM_WINDOWPOSCHANGING
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
HWND WINAPI GetFocus(void)
HWND WINAPI GetActiveWindow(void)
BOOL WINAPI DestroyCursor(_In_ HCURSOR)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
HWND WINAPI GetForegroundWindow(void)
#define WM_WINDOWPOSCHANGING
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
BOOL WINAPI SetForegroundWindow(_In_ HWND)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
HWND WINAPI GetDesktopWindow(void)
HWND WINAPI SetActiveWindow(_In_ HWND)
BOOL WINAPI UpdateWindow(_In_ HWND)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
BOOL WINAPI CloseWindow(_In_ HWND)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI DestroyIcon(_In_ HICON)