Commit d673b697 authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

windows.media: Partially implement IClosedCaptionPropertiesStatics_get_RegionOpacity.

parent 576f7e2a
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment