msi/tests: Reset the enumeration index for MsiEnumProducts before testing it.
This commit is contained in:
parent
415bb3c5a0
commit
bcb869a342
|
@ -11298,6 +11298,9 @@ static void test_MsiEnumProducts(void)
|
|||
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
|
||||
|
||||
index = 0;
|
||||
r = MsiEnumProductsA(index, guid);
|
||||
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
|
||||
|
||||
r = MsiEnumProductsA(index, NULL);
|
||||
ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %u\n", r);
|
||||
|
||||
|
|
Loading…
Reference in New Issue