Sven Baars : setupapi/tests: Fix a crash in the need_media tests.
Module: wine Branch: master Commit: 448f4cc9a25c6f994395978df0dfd7c7487b5dbb URL: https://source.winehq.org/git/wine.git/?a=commit;h=448f4cc9a25c6f994395978df... Author: Sven Baars <sven.wine(a)gmail.com> Date: Sun Aug 18 00:09:03 2019 +0200 setupapi/tests: Fix a crash in the need_media tests. Signed-off-by: Sven Baars <sven.wine(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 f9e5592..d761f89 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)) {
participants (1)
-
Alexandre Julliard