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

windows.media: Partially implement IClosedCaptionPropertiesStatics_get_FontSize.

parent c15f9b9a
......@@ -150,8 +150,10 @@ static HRESULT WINAPI captions_get_FontOpacity( IClosedCaptionPropertiesStatics
static HRESULT WINAPI captions_get_FontSize( IClosedCaptionPropertiesStatics *iface, ClosedCaptionSize *value )
{
FIXME( "iface %p, value %p stub!\n", iface, value );
return E_NOTIMPL;
FIXME( "iface %p, value %p semi-stub.\n", iface, value );
*value = ClosedCaptionSize_Default;
return S_OK;
}
static HRESULT WINAPI captions_get_FontStyle( IClosedCaptionPropertiesStatics *iface, ClosedCaptionStyle *value )
......
......@@ -102,8 +102,8 @@ static void test_CaptionStatics(void)
size = 0xdeadbeef;
hr = IClosedCaptionPropertiesStatics_get_FontSize( caption_statics, &size );
todo_wine ok( hr == S_OK, "get_FontSize returned %#lx\n", hr );
todo_wine ok( size == ClosedCaptionSize_Default, "expected default font size, got %d\n", size );
ok( hr == S_OK, "get_FontSize returned %#lx\n", hr );
ok( size == ClosedCaptionSize_Default, "expected default font size, got %d\n", size );
style = 0xdeadbeef;
hr = IClosedCaptionPropertiesStatics_get_FontStyle( caption_statics, &style );
......
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