Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
50f5f9af
Commit
50f5f9af
authored
Dec 18, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Mar 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.perception.stub: Implement ISpatialSurfaceObserverStatics2::IsSupported().
Needed by the VR games Forewarned and Überlaüfer.
parent
4f9a79bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
observer.c
dlls/windows.perception.stub/observer.c
+4
-2
perception.c
dlls/windows.perception.stub/tests/perception.c
+2
-2
No files found.
dlls/windows.perception.stub/observer.c
View file @
50f5f9af
...
...
@@ -149,8 +149,10 @@ DEFINE_IINSPECTABLE( observer_statics2, ISpatialSurfaceObserverStatics2, struct
static
HRESULT
WINAPI
observer_statics2_IsSupported
(
ISpatialSurfaceObserverStatics2
*
iface
,
boolean
*
value
)
{
FIXME
(
"iface %p, value %p stub!
\n
"
,
iface
,
value
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, value %p.
\n
"
,
iface
,
value
);
*
value
=
FALSE
;
return
S_OK
;
}
static
const
struct
ISpatialSurfaceObserverStatics2Vtbl
observer_statics2_vtbl
=
...
...
dlls/windows.perception.stub/tests/perception.c
View file @
50f5f9af
...
...
@@ -77,8 +77,8 @@ static void test_ObserverStatics(void)
value
=
TRUE
;
hr
=
ISpatialSurfaceObserverStatics2_IsSupported
(
observer_statics2
,
&
value
);
todo_wine
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
!
value
,
"got %d.
\n
"
,
value
);
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
ok
(
!
value
,
"got %d.
\n
"
,
value
);
ref
=
ISpatialSurfaceObserverStatics2_Release
(
observer_statics2
);
ok
(
ref
==
2
,
"got ref %ld.
\n
"
,
ref
);
...
...
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