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
4e7cbb2d
Commit
4e7cbb2d
authored
Mar 17, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Mar 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graphicscapture: Partially implement IGraphicsCaptureSessionStatics::IsSupported().
Needed to prevent VR games from crashing when the user attempts to capture the desktop.
parent
872fbceb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
session.c
dlls/graphicscapture/session.c
+4
-2
graphicscapture.c
dlls/graphicscapture/tests/graphicscapture.c
+1
-1
No files found.
dlls/graphicscapture/session.c
View file @
4e7cbb2d
...
...
@@ -119,8 +119,10 @@ DEFINE_IINSPECTABLE( session_statics, IGraphicsCaptureSessionStatics, struct ses
static
HRESULT
WINAPI
session_statics_IsSupported
(
IGraphicsCaptureSessionStatics
*
iface
,
boolean
*
result
)
{
FIXME
(
"iface %p, result %p stub!
\n
"
,
iface
,
result
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, result %p
\n
"
,
iface
,
result
);
*
result
=
FALSE
;
return
S_OK
;
}
static
const
struct
IGraphicsCaptureSessionStaticsVtbl
session_statics_vtbl
=
...
...
dlls/graphicscapture/tests/graphicscapture.c
View file @
4e7cbb2d
...
...
@@ -75,7 +75,7 @@ static void test_GraphicsCaptureSessionStatics(void)
res
=
2
;
hr
=
IGraphicsCaptureSessionStatics_IsSupported
(
session_statics
,
&
res
);
todo_wine
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
res
==
TRUE
,
"got %d.
\n
"
,
res
);
ref
=
IGraphicsCaptureSessionStatics_Release
(
session_statics
);
...
...
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