mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
windows.media: Partially implement IClosedCaptionPropertiesStatics_get_RegionOpacity.
This commit is contained in:
parent
576f7e2a73
commit
d673b697eb
|
@ -210,8 +210,10 @@ static HRESULT WINAPI captions_get_ComputedRegionColor( IClosedCaptionProperties
|
|||
|
||||
static HRESULT WINAPI captions_get_RegionOpacity( IClosedCaptionPropertiesStatics *iface, ClosedCaptionOpacity *value )
|
||||
{
|
||||
FIXME( "iface %p, value %p stub!\n", iface, value );
|
||||
return E_NOTIMPL;
|
||||
FIXME( "iface %p, value %p semi-stub.\n", iface, value );
|
||||
|
||||
*value = ClosedCaptionOpacity_Default;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static const struct IClosedCaptionPropertiesStaticsVtbl captions_statics_vtbl =
|
||||
|
|
|
@ -142,8 +142,8 @@ static void test_CaptionStatics(void)
|
|||
|
||||
opacity = 0xdeadbeef;
|
||||
hr = IClosedCaptionPropertiesStatics_get_RegionOpacity( caption_statics, &opacity );
|
||||
todo_wine 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( hr == S_OK, "get_RegionOpacity returned %#lx\n", hr );
|
||||
ok( opacity == ClosedCaptionOpacity_Default, "expected default region opacity, got %d\n", opacity );
|
||||
|
||||
ref = IClosedCaptionPropertiesStatics_Release( caption_statics );
|
||||
ok( ref == 2, "got ref %ld.\n", ref );
|
||||
|
|
Loading…
Reference in a new issue