From 162e6c1e4041894639d8276032e28779839b789b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Fri, 8 Dec 2017 21:15:39 +0100 Subject: [PATCH] dxdiag: Recognise /dontskip. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Dösinger Signed-off-by: Alexandre Julliard --- programs/dxdiag/main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/programs/dxdiag/main.c b/programs/dxdiag/main.c index 3ced122d6e7..d7d430b5701 100644 --- a/programs/dxdiag/main.c +++ b/programs/dxdiag/main.c @@ -110,6 +110,7 @@ static BOOL process_command_line(const WCHAR *cmdline, struct command_line_info static const WCHAR whql_colonW[] = {'w','h','q','l',':',0}; static const WCHAR offW[] = {'o','f','f',0}; static const WCHAR onW[] = {'o','n',0}; + static const WCHAR dontskipW[] = {'d','o','n','t','s','k','i','p',0}; info->whql_check = FALSE; info->output_type = OUTPUT_NONE; @@ -163,6 +164,14 @@ static BOOL process_command_line(const WCHAR *cmdline, struct command_line_info return FALSE; break; + + case 'd': + case 'D': + if (strncmpiW(cmdline, dontskipW, 8)) + return FALSE; + cmdline += 8; + break; + default: return FALSE; }