Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ace5d0ad
Commit
ace5d0ad
authored
Mar 14, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
87ada554
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
hotplug.c
dlls/dinput/tests/hotplug.c
+0
-1
vector.c
dlls/windows.gaming.input/vector.c
+2
-2
No files found.
dlls/dinput/tests/hotplug.c
View file @
ace5d0ad
...
...
@@ -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
);
...
...
dlls/windows.gaming.input/vector.c
View file @
ace5d0ad
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment