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

windows.media: Partially implement IClosedCaptionPropertiesStatics_get_BackgroundOpacity.

parent 16d90e06
......@@ -188,8 +188,10 @@ static HRESULT WINAPI captions_get_ComputedBackgroundColor( IClosedCaptionProper
static HRESULT WINAPI captions_get_BackgroundOpacity( 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 HRESULT WINAPI captions_get_RegionColor( IClosedCaptionPropertiesStatics *iface, ClosedCaptionColor *value )
......
......@@ -127,8 +127,8 @@ static void test_CaptionStatics(void)
opacity = 0xdeadbeef;
hr = IClosedCaptionPropertiesStatics_get_BackgroundOpacity( caption_statics, &opacity );
todo_wine ok( hr == S_OK, "get_BackgroundOpacity returned %#lx\n", hr );
todo_wine ok( opacity == ClosedCaptionOpacity_Default, "expected default background opacity, got %d\n", opacity );
ok( hr == S_OK, "get_BackgroundOpacity returned %#lx\n", hr );
ok( opacity == ClosedCaptionOpacity_Default, "expected default background opacity, got %d\n", opacity );
color = 0xdeadbeef;
hr = IClosedCaptionPropertiesStatics_get_RegionColor( caption_statics, &color );
......
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