Commit 3bbbb876 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfplat: Implement LockStore()/UnlockStore().

parent 0f36ace0
......@@ -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)
......
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