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

windows.media: Partially implement IClosedCaptionPropertiesStatics_get_FontEffect.

parent 925c1425
......@@ -166,8 +166,10 @@ static HRESULT WINAPI captions_get_FontStyle( IClosedCaptionPropertiesStatics *i
static HRESULT WINAPI captions_get_FontEffect( IClosedCaptionPropertiesStatics *iface, ClosedCaptionEdgeEffect *value )
{
FIXME( "iface %p, value %p stub!\n", iface, value );
return E_NOTIMPL;
FIXME( "iface %p, value %p semi-stub.\n", iface, value );
*value = ClosedCaptionEdgeEffect_Default;
return S_OK;
}
static HRESULT WINAPI captions_get_BackgroundColor( IClosedCaptionPropertiesStatics *iface, ClosedCaptionColor *value )
......
......@@ -112,8 +112,8 @@ static void test_CaptionStatics(void)
effect = 0xdeadbeef;
hr = IClosedCaptionPropertiesStatics_get_FontEffect( caption_statics, &effect );
todo_wine ok( hr == S_OK, "get_FontEffect returned %#lx\n", hr );
todo_wine ok( effect == ClosedCaptionEdgeEffect_Default, "expected default font effect, got %d\n", effect );
ok( hr == S_OK, "get_FontEffect returned %#lx\n", hr );
ok( effect == ClosedCaptionEdgeEffect_Default, "expected default font effect, got %d\n", effect );
color = 0xdeadbeef;
hr = IClosedCaptionPropertiesStatics_get_BackgroundColor( 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