mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[RICHED20_WINETEST]
Hey Arch, stop breaking GCC build, while trying to fix MSVC build! svn path=/trunk/; revision=67628
This commit is contained in:
parent
f2b82513c2
commit
fe491d1d3b
1 changed files with 81 additions and 81 deletions
|
@ -5423,8 +5423,8 @@ static void test_unicode_conversions(void)
|
|||
#define set_textA(hwnd, wm_set_text, txt) \
|
||||
do { \
|
||||
SETTEXTEX stex = { ST_DEFAULT, CP_ACP }; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(stex); \
|
||||
WPARAM wparam = (wm_set_text == WM_SETTEXT) ? 0 : (WPARAM)&stex; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(stex); \
|
||||
assert(wm_set_text == WM_SETTEXT || wm_set_text == EM_SETTEXTEX); \
|
||||
ret = SendMessageA(hwnd, wm_set_text, wparam, (LPARAM)txt); \
|
||||
ok(ret, "SendMessageA(%02x) error %u\n", wm_set_text, GetLastError()); \
|
||||
|
@ -5432,8 +5432,8 @@ static void test_unicode_conversions(void)
|
|||
#define expect_textA(hwnd, wm_get_text, txt) \
|
||||
do { \
|
||||
GETTEXTEX gtex = { 64, GT_DEFAULT, CP_ACP, NULL, NULL }; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(gtex); \
|
||||
WPARAM wparam = (wm_get_text == WM_GETTEXT) ? 64 : (WPARAM)>ex; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(gtex); \
|
||||
assert(wm_get_text == WM_GETTEXT || wm_get_text == EM_GETTEXTEX); \
|
||||
memset(bufA, 0xAA, sizeof(bufA)); \
|
||||
ret = SendMessageA(hwnd, wm_get_text, wparam, (LPARAM)bufA); \
|
||||
|
@ -5445,8 +5445,8 @@ static void test_unicode_conversions(void)
|
|||
#define set_textW(hwnd, wm_set_text, txt) \
|
||||
do { \
|
||||
SETTEXTEX stex = { ST_DEFAULT, 1200 }; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(stex); \
|
||||
WPARAM wparam = (wm_set_text == WM_SETTEXT) ? 0 : (WPARAM)&stex; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(stex); \
|
||||
assert(wm_set_text == WM_SETTEXT || wm_set_text == EM_SETTEXTEX); \
|
||||
ret = SendMessageW(hwnd, wm_set_text, wparam, (LPARAM)txt); \
|
||||
ok(ret, "SendMessageW(%02x) error %u\n", wm_set_text, GetLastError()); \
|
||||
|
@ -5454,8 +5454,8 @@ static void test_unicode_conversions(void)
|
|||
#define expect_textW(hwnd, wm_get_text, txt) \
|
||||
do { \
|
||||
GETTEXTEX gtex = { 64, GT_DEFAULT, 1200, NULL, NULL }; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(gtex); \
|
||||
WPARAM wparam = (wm_get_text == WM_GETTEXT) ? 64 : (WPARAM)>ex; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(gtex); \
|
||||
assert(wm_get_text == WM_GETTEXT || wm_get_text == EM_GETTEXTEX); \
|
||||
memset(bufW, 0xAA, sizeof(bufW)); \
|
||||
ret = SendMessageW(hwnd, wm_get_text, wparam, (LPARAM)bufW); \
|
||||
|
@ -5466,8 +5466,8 @@ static void test_unicode_conversions(void)
|
|||
#define expect_empty(hwnd, wm_get_text) \
|
||||
do { \
|
||||
GETTEXTEX gtex = { 64, GT_DEFAULT, CP_ACP, NULL, NULL }; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(gtex); \
|
||||
WPARAM wparam = (wm_get_text == WM_GETTEXT) ? 64 : (WPARAM)>ex; \
|
||||
UNREFERENCED_LOCAL_VARIABLE(gtex); \
|
||||
assert(wm_get_text == WM_GETTEXT || wm_get_text == EM_GETTEXTEX); \
|
||||
memset(bufA, 0xAA, sizeof(bufA)); \
|
||||
ret = SendMessageA(hwnd, wm_get_text, wparam, (LPARAM)bufA); \
|
||||
|
|
Loading…
Reference in a new issue