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
872fbceb
Commit
872fbceb
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/tests: Add IGraphicsCaptureSessionStatics::IsSupported() tests.
parent
a36f7015
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
graphicscapture.c
dlls/graphicscapture/tests/graphicscapture.c
+6
-0
No files found.
dlls/graphicscapture/tests/graphicscapture.c
View file @
872fbceb
...
...
@@ -49,6 +49,7 @@ static void test_GraphicsCaptureSessionStatics(void)
static
const
WCHAR
*
session_statics_name
=
L"Windows.Graphics.Capture.GraphicsCaptureSession"
;
IGraphicsCaptureSessionStatics
*
session_statics
;
IActivationFactory
*
factory
;
BOOLEAN
res
;
HSTRING
str
;
HRESULT
hr
;
LONG
ref
;
...
...
@@ -72,6 +73,11 @@ static void test_GraphicsCaptureSessionStatics(void)
hr
=
IActivationFactory_QueryInterface
(
factory
,
&
IID_IGraphicsCaptureSessionStatics
,
(
void
**
)
&
session_statics
);
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
res
=
2
;
hr
=
IGraphicsCaptureSessionStatics_IsSupported
(
session_statics
,
&
res
);
todo_wine
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
res
==
TRUE
,
"got %d.
\n
"
,
res
);
ref
=
IGraphicsCaptureSessionStatics_Release
(
session_statics
);
ok
(
ref
==
1
,
"got ref %ld.
\n
"
,
ref
);
ref
=
IActivationFactory_Release
(
factory
);
...
...
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