Author: akhaldi
Date: Tue Nov 3 21:14:15 2015
New Revision: 69799
URL:
http://svn.reactos.org/svn/reactos?rev=69799&view=rev
Log:
[USER32_APITEST] Fix a typo.
Modified:
trunk/rostests/apitests/user32/DeferWindowPos.c
trunk/rostests/apitests/user32/SendMessageTimeout.c
trunk/rostests/apitests/user32/SetActiveWindow.c
trunk/rostests/apitests/user32/SetParent.c
trunk/rostests/apitests/user32/SystemParametersInfo.c
trunk/rostests/apitests/user32/TrackMouseEvent.c
trunk/rostests/apitests/user32/helper.h
Modified: trunk/rostests/apitests/user32/DeferWindowPos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/DeferWind…
==============================================================================
--- trunk/rostests/apitests/user32/DeferWindowPos.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/DeferWindowPos.c [iso-8859-1] Tue Nov 3 21:14:15 2015
@@ -42,11 +42,11 @@
{
WINDOWPOS* pwp = (WINDOWPOS*)lParam;
ok(wParam==0,"expected wParam=0\n");
- RECOND_MESSAGE(iwnd, message, SENT, get_iwnd(pwp->hwndInsertAfter),
pwp->flags);
+ RECORD_MESSAGE(iwnd, message, SENT, get_iwnd(pwp->hwndInsertAfter),
pwp->flags);
break;
}
default:
- RECOND_MESSAGE(iwnd, message, SENT, 0,0);
+ RECORD_MESSAGE(iwnd, message, SENT, 0,0);
}
return DefWindowProc(hWnd, message, wParam, lParam);
}
@@ -59,7 +59,7 @@
{
int iwnd = get_iwnd(msg.hwnd);
if(!(msg.message > WM_USER || !iwnd || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(iwnd, msg.message, POST,0,0);
+ RECORD_MESSAGE(iwnd, msg.message, POST,0,0);
DispatchMessageA( &msg );
}
}
Modified: trunk/rostests/apitests/user32/SendMessageTimeout.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/SendMessa…
==============================================================================
--- trunk/rostests/apitests/user32/SendMessageTimeout.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/SendMessageTimeout.c [iso-8859-1] Tue Nov 3 21:14:15
2015
@@ -62,15 +62,15 @@
if (hWnd == hWndThread1)
{
- RECOND_MESSAGE(1, message, SENT, wParam, lParam);
+ RECORD_MESSAGE(1, message, SENT, wParam, lParam);
}
else if (hWnd == hWndThread2)
{
- RECOND_MESSAGE(2, message, SENT, wParam, lParam);
+ RECORD_MESSAGE(2, message, SENT, wParam, lParam);
}
else
{
- RECOND_MESSAGE(3, message, SENT, wParam, lParam);
+ RECORD_MESSAGE(3, message, SENT, wParam, lParam);
}
switch (message)
@@ -115,7 +115,7 @@
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
{
if (!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(1, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(1, msg.message, POST, 0, 0);
DispatchMessageA(&msg);
}
@@ -126,7 +126,7 @@
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
{
if (!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(1, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(1, msg.message, POST, 0, 0);
DispatchMessageA(&msg);
}
}
@@ -135,7 +135,7 @@
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
{
if (!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(1, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(1, msg.message, POST, 0, 0);
DispatchMessageA(&msg);
}
@@ -158,7 +158,7 @@
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
{
if (!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(2, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(2, msg.message, POST, 0, 0);
DispatchMessageA(&msg);
}
@@ -169,7 +169,7 @@
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
{
if (!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(2, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(2, msg.message, POST, 0, 0);
DispatchMessageA(&msg);
}
@@ -177,7 +177,7 @@
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
{
if (!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(2, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(2, msg.message, POST, 0, 0);
DispatchMessageA(&msg);
}
Modified: trunk/rostests/apitests/user32/SetActiveWindow.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/SetActive…
==============================================================================
--- trunk/rostests/apitests/user32/SetActiveWindow.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/SetActiveWindow.c [iso-8859-1] Tue Nov 3 21:14:15
2015
@@ -49,11 +49,11 @@
{
WINDOWPOS* pwp = (WINDOWPOS*)lParam;
ok(wParam==0,"expected wParam=0\n");
- RECOND_MESSAGE(iwnd, message, SENT, get_iwnd(pwp->hwndInsertAfter),
pwp->flags);
+ RECORD_MESSAGE(iwnd, message, SENT, get_iwnd(pwp->hwndInsertAfter),
pwp->flags);
break;
}
default:
- RECOND_MESSAGE(iwnd, message, SENT, 0,0);
+ RECORD_MESSAGE(iwnd, message, SENT, 0,0);
}
return DefWindowProc(hWnd, message, wParam, lParam);
}
@@ -66,7 +66,7 @@
{
int iwnd = get_iwnd(msg.hwnd);
if(!(msg.message > WM_USER || !iwnd || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(iwnd, msg.message, POST,0,0);
+ RECORD_MESSAGE(iwnd, msg.message, POST,0,0);
DispatchMessageA( &msg );
}
}
Modified: trunk/rostests/apitests/user32/SetParent.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/SetParent…
==============================================================================
--- trunk/rostests/apitests/user32/SetParent.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/SetParent.c [iso-8859-1] Tue Nov 3 21:14:15 2015
@@ -77,7 +77,7 @@
if (message > WM_USER || IsDWmMsg(message) || IseKeyMsg(message))
return DefWindowProcW(hWnd, message, wParam, lParam);
- RECOND_MESSAGE(iwnd, message, SENT, wParam, lParam);
+ RECORD_MESSAGE(iwnd, message, SENT, wParam, lParam);
switch(message)
{
@@ -150,7 +150,7 @@
{
int iwnd = get_iwnd(msg.hwnd, FALSE);
if(!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(iwnd, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(iwnd, msg.message, POST, 0, 0);
DispatchMessageA( &msg );
}
trace("\n");
@@ -181,7 +181,7 @@
{
int iwnd = get_iwnd(msg.hwnd, FALSE);
if(!(msg.message > WM_USER || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(iwnd, msg.message, POST, 0, 0);
+ RECORD_MESSAGE(iwnd, msg.message, POST, 0, 0);
DispatchMessageA( &msg );
}
trace("\n");
Modified: trunk/rostests/apitests/user32/SystemParametersInfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/SystemPar…
==============================================================================
--- trunk/rostests/apitests/user32/SystemParametersInfo.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/SystemParametersInfo.c [iso-8859-1] Tue Nov 3 21:14:15
2015
@@ -39,11 +39,11 @@
{
WINDOWPOS* pwp = (WINDOWPOS*)lParam;
ok(wParam==0,"expected wParam=0\n");
- RECOND_MESSAGE(iwnd, message, SENT, get_iwnd(pwp->hwndInsertAfter),
pwp->flags);
+ RECORD_MESSAGE(iwnd, message, SENT, get_iwnd(pwp->hwndInsertAfter),
pwp->flags);
break;
}
default:
- RECOND_MESSAGE(iwnd, message, SENT, 0,0);
+ RECORD_MESSAGE(iwnd, message, SENT, 0,0);
}
return DefWindowProc(hWnd, message, wParam, lParam);
}
@@ -56,7 +56,7 @@
{
int iwnd = get_iwnd(msg.hwnd);
if(!(msg.message > WM_USER || !iwnd || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(iwnd, msg.message, POST,0,0);
+ RECORD_MESSAGE(iwnd, msg.message, POST,0,0);
DispatchMessageA( &msg );
}
}
Modified: trunk/rostests/apitests/user32/TrackMouseEvent.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/TrackMous…
==============================================================================
--- trunk/rostests/apitests/user32/TrackMouseEvent.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/TrackMouseEvent.c [iso-8859-1] Tue Nov 3 21:14:15
2015
@@ -50,7 +50,7 @@
ok(0, "Got unexpected WM_SYSTIMER in the winproc. wParam=%d\n",
wParam);
break;
default:
- RECOND_MESSAGE(iwnd, message, SENT, 0,0);
+ RECORD_MESSAGE(iwnd, message, SENT, 0,0);
}
return DefWindowProc(hWnd, message, wParam, lParam);
}
@@ -58,7 +58,7 @@
static LRESULT CALLBACK MouseLLHookProc(int nCode, WPARAM wParam, LPARAM lParam)
{
LRESULT ret;
- RECOND_MESSAGE(0, WH_MOUSE_LL, HOOK, wParam, 0);
+ RECORD_MESSAGE(0, WH_MOUSE_LL, HOOK, wParam, 0);
ret = CallNextHookEx(hMouseHookLL, nCode, wParam, lParam);
if(ignore_mousell)
return TRUE;
@@ -69,7 +69,7 @@
{
MOUSEHOOKSTRUCT *hs = (MOUSEHOOKSTRUCT*) lParam;
LRESULT ret;
- RECOND_MESSAGE(get_iwnd(hs->hwnd), WH_MOUSE, HOOK, wParam, hs->wHitTestCode);
+ RECORD_MESSAGE(get_iwnd(hs->hwnd), WH_MOUSE, HOOK, wParam, hs->wHitTestCode);
ret = CallNextHookEx(hMouseHook, nCode, wParam, lParam);
if(ignore_mouse)
return TRUE;
@@ -87,12 +87,12 @@
{
if(msg.message == WM_SYSTIMER)
{
- RECOND_MESSAGE(iwnd, msg.message, POST,msg.wParam,0);
+ RECORD_MESSAGE(iwnd, msg.message, POST,msg.wParam,0);
if(ignore_timer)
continue;
}
else if(!(msg.message > WM_USER || !iwnd || IsDWmMsg(msg.message) ||
IseKeyMsg(msg.message)))
- RECOND_MESSAGE(iwnd, msg.message, POST,0,0);
+ RECORD_MESSAGE(iwnd, msg.message, POST,0,0);
}
DispatchMessageA( &msg );
}
Modified: trunk/rostests/apitests/user32/helper.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/helper.h?…
==============================================================================
--- trunk/rostests/apitests/user32/helper.h [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/helper.h [iso-8859-1] Tue Nov 3 21:14:15 2015
@@ -55,7 +55,7 @@
#define COMPARE_CACHE(msg_chain) compare_cache(&default_cache, __FILE__, __LINE__,
msg_chain)
#define TRACE_CACHE() trace_cache(&default_cache, __FILE__, __LINE__)
#define EMPTY_CACHE() empty_message_cache(&default_cache);
-#define RECOND_MESSAGE(...) record_message(&default_cache, ##__VA_ARGS__);
+#define RECORD_MESSAGE(...) record_message(&default_cache, ##__VA_ARGS__);
#define COMPARE_CACHE_(cache, msg_chain) compare_cache(cache, __FILE__, __LINE__,
msg_chain)
#define TRACE_CACHE_(cache) trace_cache(cache, __FILE__, __LINE__)