mfplat: Implement LockStore()/UnlockStore().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Nikolay Sivov 2019-03-15 13:56:45 +03:00 committed by Alexandre Julliard
parent 0f36ace004
commit 3bbbb876fa
1 changed files with 10 additions and 6 deletions

View File

@ -1075,20 +1075,24 @@ static HRESULT WINAPI mfattributes_SetUnknown(IMFAttributes *iface, REFGUID key,
static HRESULT WINAPI mfattributes_LockStore(IMFAttributes *iface)
{
mfattributes *This = impl_from_IMFAttributes(iface);
struct attributes *attributes = impl_from_IMFAttributes(iface);
FIXME("%p\n", This);
TRACE("%p.\n", iface);
return E_NOTIMPL;
EnterCriticalSection(&attributes->cs);
return S_OK;
}
static HRESULT WINAPI mfattributes_UnlockStore(IMFAttributes *iface)
{
mfattributes *This = impl_from_IMFAttributes(iface);
struct attributes *attributes = impl_from_IMFAttributes(iface);
FIXME("%p\n", This);
TRACE("%p.\n", iface);
return E_NOTIMPL;
LeaveCriticalSection(&attributes->cs);
return S_OK;
}
static HRESULT WINAPI mfattributes_GetCount(IMFAttributes *iface, UINT32 *items)