[PATCH] dxgi/tests: Avoid an ever chaning value in a dxgi failure message.

Francois Gouget fgouget at codeweavers.com
Sun Mar 15 17:56:28 CDT 2020

The test does not trace any window handle so there is no value to
correlate the value in the failure message with. So showing this ever
changing value is useless as is.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
 dlls/dxgi/tests/dxgi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c
index e2b5df7b272..16482ae12ee 100644
--- a/dlls/dxgi/tests/dxgi.c
+++ b/dlls/dxgi/tests/dxgi.c
@@ -5060,8 +5060,8 @@ static BOOL check_message(const struct message *expected,
 static LRESULT CALLBACK test_wndproc(HWND hwnd, unsigned int message, WPARAM wparam, LPARAM lparam)
-    ok(!expect_no_messages, "Got unexpected message %#x, hwnd %p, wparam %#lx, lparam %#lx.\n",
-            message, hwnd, wparam, lparam);
+    ok(!expect_no_messages, "Got unexpected message %#x, wparam %#lx, lparam %#lx.\n",
+            message, wparam, lparam);
     if (expect_messages)

More information about the wine-devel mailing list