mfplay: Implement IsProtected().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4e7f95220a
commit
7bbf8e53fc
|
@ -1,6 +1,6 @@
|
|||
MODULE = mfplay.dll
|
||||
IMPORTLIB = mfplay
|
||||
IMPORTS = mfplat uuid mfuuid
|
||||
IMPORTS = mfplat mf uuid mfuuid
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
|
|
|
@ -215,9 +215,13 @@ static HRESULT WINAPI media_item_HasAudio(IMFPMediaItem *iface, BOOL *has_audio,
|
|||
|
||||
static HRESULT WINAPI media_item_IsProtected(IMFPMediaItem *iface, BOOL *protected)
|
||||
{
|
||||
FIXME("%p, %p.\n", iface, protected);
|
||||
struct media_item *item = impl_from_IMFPMediaItem(iface);
|
||||
|
||||
return E_NOTIMPL;
|
||||
TRACE("%p, %p.\n", iface, protected);
|
||||
|
||||
*protected = MFRequireProtectedEnvironment(item->pd) == S_OK;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI media_item_GetDuration(IMFPMediaItem *iface, REFGUID format, PROPVARIANT *value)
|
||||
|
|
Loading…
Reference in New Issue