[PATCH 1/3] setupapi/tests: Fix a crash in the need_media tests.
Sven Baars
sven.wine at gmail.com
Sat Aug 17 17:09:03 CDT 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/setupapi/tests/install.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/setupapi/tests/install.c b/dlls/setupapi/tests/install.c
index f9e55929f2..d761f89103 100644
--- a/dlls/setupapi/tests/install.c
+++ b/dlls/setupapi/tests/install.c
@@ -1903,6 +1903,7 @@ static void test_need_media(void)
queue = SetupOpenFileQueue();
ok(queue != INVALID_HANDLE_VALUE, "Failed to open queue, error %#x.\n", GetLastError());
copy_params.LayoutInf = hinf;
+ copy_params.QueueHandle = queue;
/* In fact this fails with ERROR_INVALID_PARAMETER on 8+. */
if (SetupQueueCopyIndirectA(©_params))
{
--
2.17.1
More information about the wine-devel
mailing list