d3d8/tests: Fix some wndproc comparison error messages.
This commit is contained in:
parent
5e369853f1
commit
7b7516189d
|
@ -2311,8 +2311,7 @@ static void test_wndproc(void)
|
|||
(LONG_PTR)test_proc, proc);
|
||||
|
||||
proc = GetWindowLongPtrA(focus_window, GWLP_WNDPROC);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx.\n", (LONG_PTR)test_proc);
|
||||
|
||||
ref = IDirect3DDevice8_Release(device);
|
||||
ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref);
|
||||
|
@ -2339,8 +2338,7 @@ static void test_wndproc(void)
|
|||
}
|
||||
|
||||
proc = SetWindowLongPtrA(focus_window, GWLP_WNDPROC, (LONG_PTR)DefWindowProcA);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx.\n", (LONG_PTR)test_proc);
|
||||
|
||||
ref = IDirect3DDevice8_Release(device);
|
||||
ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref);
|
||||
|
@ -2459,8 +2457,7 @@ static void test_wndproc_windowed(void)
|
|||
(LONG_PTR)test_proc, proc);
|
||||
|
||||
proc = GetWindowLongPtrA(focus_window, GWLP_WNDPROC);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx.\n", (LONG_PTR)test_proc);
|
||||
|
||||
hr = reset_device(device, device_window, TRUE);
|
||||
ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr);
|
||||
|
@ -2497,8 +2494,7 @@ static void test_wndproc_windowed(void)
|
|||
(LONG_PTR)test_proc, proc);
|
||||
|
||||
proc = GetWindowLongPtrA(focus_window, GWLP_WNDPROC);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx.\n", (LONG_PTR)test_proc);
|
||||
|
||||
hr = reset_device(device, focus_window, TRUE);
|
||||
ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr);
|
||||
|
@ -2533,8 +2529,7 @@ static void test_wndproc_windowed(void)
|
|||
(LONG_PTR)test_proc, proc);
|
||||
|
||||
proc = GetWindowLongPtrA(focus_window, GWLP_WNDPROC);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx.\n", (LONG_PTR)test_proc);
|
||||
|
||||
hr = reset_device(device, device_window, TRUE);
|
||||
ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr);
|
||||
|
@ -3208,8 +3203,7 @@ static void test_device_window_reset(void)
|
|||
ok(proc == (LONG_PTR)test_proc, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
proc = GetWindowLongPtrA(focus_window, GWLP_WNDPROC);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx.\n", (LONG_PTR)test_proc);
|
||||
|
||||
hr = reset_device(device, device_window, FALSE);
|
||||
ok(SUCCEEDED(hr), "Failed to reset device.\n");
|
||||
|
@ -3227,8 +3221,7 @@ static void test_device_window_reset(void)
|
|||
ok(proc == (LONG_PTR)test_proc, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
proc = GetWindowLongPtrA(focus_window, GWLP_WNDPROC);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)test_proc, proc);
|
||||
ok(proc != (LONG_PTR)test_proc, "Expected wndproc != %#lx.\n", (LONG_PTR)test_proc);
|
||||
|
||||
ref = IDirect3DDevice8_Release(device);
|
||||
ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref);
|
||||
|
|
Loading…
Reference in New Issue