Commit 0820b125 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Return S_FALSE from IEnumPins::Next() when the pin count changes.

parent c3664153
......@@ -353,7 +353,6 @@ static void test_enum_pins(void)
graph = connect_input(filter, filename);
hr = IEnumPins_Next(enum1, 1, pins, NULL);
todo_wine
ok(hr == S_FALSE, "Got hr %#x.\n", hr);
hr = IEnumPins_Reset(enum1);
......
......@@ -526,7 +526,6 @@ static void test_enum_pins(void)
load_file(filter, filename);
hr = IEnumPins_Next(enum1, 1, pins, NULL);
todo_wine
ok(hr == S_FALSE, "Got hr %#x.\n", hr);
hr = IEnumPins_Reset(enum1);
......
......@@ -347,7 +347,6 @@ static void test_enum_pins(void)
graph = connect_input(filter, filename);
hr = IEnumPins_Next(enum1, 1, pins, NULL);
todo_wine
ok(hr == S_FALSE, "Got hr %#x.\n", hr);
hr = IEnumPins_Reset(enum1);
......
......@@ -351,7 +351,6 @@ static void test_enum_pins(void)
graph = connect_input(filter, filename);
hr = IEnumPins_Next(enum1, 1, pins, NULL);
todo_wine
ok(hr == S_FALSE, "Got hr %#x.\n", hr);
hr = IEnumPins_Reset(enum1);
......
......@@ -122,7 +122,7 @@ static HRESULT WINAPI enum_pins_Next(IEnumPins *iface, ULONG count, IPin **pins,
*ret_count = 0;
if (enum_pins->version != enum_pins->filter->pin_version)
return VFW_E_ENUM_OUT_OF_SYNC;
return S_FALSE;
for (i = 0; i < count; ++i)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment