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
d673b697
Commit
d673b697
authored
Nov 24, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Nov 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.media: Partially implement IClosedCaptionPropertiesStatics_get_RegionOpacity.
parent
576f7e2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
captions.c
dlls/windows.media/captions.c
+4
-2
captions.c
dlls/windows.media/tests/captions.c
+2
-2
No files found.
dlls/windows.media/captions.c
View file @
d673b697
...
@@ -210,8 +210,10 @@ static HRESULT WINAPI captions_get_ComputedRegionColor( IClosedCaptionProperties
...
@@ -210,8 +210,10 @@ static HRESULT WINAPI captions_get_ComputedRegionColor( IClosedCaptionProperties
static
HRESULT
WINAPI
captions_get_RegionOpacity
(
IClosedCaptionPropertiesStatics
*
iface
,
ClosedCaptionOpacity
*
value
)
static
HRESULT
WINAPI
captions_get_RegionOpacity
(
IClosedCaptionPropertiesStatics
*
iface
,
ClosedCaptionOpacity
*
value
)
{
{
FIXME
(
"iface %p, value %p stub!
\n
"
,
iface
,
value
);
FIXME
(
"iface %p, value %p semi-stub.
\n
"
,
iface
,
value
);
return
E_NOTIMPL
;
*
value
=
ClosedCaptionOpacity_Default
;
return
S_OK
;
}
}
static
const
struct
IClosedCaptionPropertiesStaticsVtbl
captions_statics_vtbl
=
static
const
struct
IClosedCaptionPropertiesStaticsVtbl
captions_statics_vtbl
=
...
...
dlls/windows.media/tests/captions.c
View file @
d673b697
...
@@ -142,8 +142,8 @@ static void test_CaptionStatics(void)
...
@@ -142,8 +142,8 @@ static void test_CaptionStatics(void)
opacity
=
0xdeadbeef
;
opacity
=
0xdeadbeef
;
hr
=
IClosedCaptionPropertiesStatics_get_RegionOpacity
(
caption_statics
,
&
opacity
);
hr
=
IClosedCaptionPropertiesStatics_get_RegionOpacity
(
caption_statics
,
&
opacity
);
todo_wine
ok
(
hr
==
S_OK
,
"get_RegionOpacity returned %#lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"get_RegionOpacity returned %#lx
\n
"
,
hr
);
todo_wine
ok
(
opacity
==
ClosedCaptionOpacity_Default
,
"expected default region opacity, got %d
\n
"
,
opacity
);
ok
(
opacity
==
ClosedCaptionOpacity_Default
,
"expected default region opacity, got %d
\n
"
,
opacity
);
ref
=
IClosedCaptionPropertiesStatics_Release
(
caption_statics
);
ref
=
IClosedCaptionPropertiesStatics_Release
(
caption_statics
);
ok
(
ref
==
2
,
"got ref %ld.
\n
"
,
ref
);
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