setupapi/tests: Fix a crash in the need_media tests.
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2eb50028e3
commit
448f4cc9a2
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue