user32: Fix a few failing tests in win2k.
This commit is contained in:
parent
824d631cf3
commit
13451c3b2a
|
@ -1979,15 +1979,23 @@ static void test_UnpackDDElParam(void)
|
|||
hi = 0xbeef;
|
||||
ret = UnpackDDElParam(WM_DDE_ADVISE, (LPARAM)NULL, &lo, &hi);
|
||||
ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
|
||||
ok(lo == 0, "Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0, "Expected 0, got %08lx\n", hi);
|
||||
ok(lo == 0 ||
|
||||
broken(lo == 0xdead), /* win2k */
|
||||
"Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0 ||
|
||||
broken(hi == 0xbeef), /* win2k */
|
||||
"Expected 0, got %08lx\n", hi);
|
||||
|
||||
lo = 0xdead;
|
||||
hi = 0xbeef;
|
||||
ret = UnpackDDElParam(WM_DDE_ADVISE, 0xcafebabe, &lo, &hi);
|
||||
ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
|
||||
ok(lo == 0, "Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0, "Expected 0, got %08lx\n", hi);
|
||||
ok(lo == 0 ||
|
||||
broken(lo == 0xdead), /* win2k */
|
||||
"Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0 ||
|
||||
broken(hi == 0xbeef), /* win2k */
|
||||
"Expected 0, got %08lx\n", hi);
|
||||
|
||||
hglobal = GlobalAlloc(GMEM_DDESHARE, 2);
|
||||
ptr = GlobalLock(hglobal);
|
||||
|
@ -2013,8 +2021,12 @@ static void test_UnpackDDElParam(void)
|
|||
hi = 0xbeef;
|
||||
ret = UnpackDDElParam(WM_DDE_ACK, 0xcafebabe, &lo, &hi);
|
||||
ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
|
||||
ok(lo == 0, "Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0, "Expected 0, got %08lx\n", hi);
|
||||
ok(lo == 0 ||
|
||||
broken(lo == 0xdead), /* win2k */
|
||||
"Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0 ||
|
||||
broken(hi == 0xbeef), /* win2k */
|
||||
"Expected 0, got %08lx\n", hi);
|
||||
|
||||
lo = 0xdead;
|
||||
hi = 0xbeef;
|
||||
|
@ -2027,8 +2039,12 @@ static void test_UnpackDDElParam(void)
|
|||
hi = 0xbeef;
|
||||
ret = UnpackDDElParam(WM_DDE_DATA, 0xcafebabe, &lo, &hi);
|
||||
ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
|
||||
ok(lo == 0, "Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0, "Expected 0, got %08lx\n", hi);
|
||||
ok(lo == 0 ||
|
||||
broken(lo == 0xdead), /* win2k */
|
||||
"Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0 ||
|
||||
broken(hi == 0xbeef), /* win2k */
|
||||
"Expected 0, got %08lx\n", hi);
|
||||
|
||||
lo = 0xdead;
|
||||
hi = 0xbeef;
|
||||
|
@ -2048,8 +2064,12 @@ static void test_UnpackDDElParam(void)
|
|||
hi = 0xbeef;
|
||||
ret = UnpackDDElParam(WM_DDE_POKE, 0xcafebabe, &lo, &hi);
|
||||
ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
|
||||
ok(lo == 0, "Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0, "Expected 0, got %08lx\n", hi);
|
||||
ok(lo == 0 ||
|
||||
broken(lo == 0xdead), /* win2k */
|
||||
"Expected 0, got %08lx\n", lo);
|
||||
ok(hi == 0 ||
|
||||
broken(hi == 0xbeef), /* win2k */
|
||||
"Expected 0, got %08lx\n", hi);
|
||||
|
||||
lo = 0xdead;
|
||||
hi = 0xbeef;
|
||||
|
|
Loading…
Reference in New Issue