windows.gaming.input: Fix IIterator_IInspectable_MoveNext returne value.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
87ada5544e
commit
ace5d0adb8
|
@ -1095,7 +1095,6 @@ static void test_windows_gaming_input(void)
|
|||
ok( ret == TRUE, "got HasCurrent %u\n", ret );
|
||||
hr = IIterator_RawGameController_MoveNext( iterator, &ret );
|
||||
ok( hr == S_OK, "First returned %#lx\n", hr );
|
||||
todo_wine
|
||||
ok( ret == FALSE, "got MoveNext %u\n", ret );
|
||||
hr = IIterator_RawGameController_get_HasCurrent( iterator, &ret );
|
||||
ok( hr == S_OK, "First returned %#lx\n", hr );
|
||||
|
|
|
@ -126,8 +126,8 @@ static HRESULT WINAPI iterator_MoveNext( IIterator_IInspectable *iface, BOOL *va
|
|||
|
||||
FIXME("\n");
|
||||
|
||||
if ((*value = impl->index < impl->size)) impl->index++;
|
||||
return S_OK;
|
||||
if (impl->index < impl->size) impl->index++;
|
||||
return IIterator_IInspectable_get_HasCurrent( iface, value );
|
||||
}
|
||||
|
||||
static HRESULT WINAPI iterator_GetMany( IIterator_IInspectable *iface, UINT32 items_size,
|
||||
|
|
Loading…
Reference in New Issue