Commit e2030709 authored by Mark Harmstone's avatar Mark Harmstone Committed by Alexandre Julliard

mmdevapi: Do nothing on property store Commit.

parent 7b0d8651
......@@ -1469,8 +1469,17 @@ static HRESULT WINAPI MMDevPropStore_SetValue(IPropertyStore *iface, REFPROPERTY
static HRESULT WINAPI MMDevPropStore_Commit(IPropertyStore *iface)
{
FIXME("stub\n");
return E_NOTIMPL;
MMDevPropStore *This = impl_from_IPropertyStore(iface);
TRACE("(%p)\n", iface);
if (This->access != STGM_WRITE
&& This->access != STGM_READWRITE)
return STG_E_ACCESSDENIED;
/* Does nothing - for mmdevapi, the propstore values are written on SetValue,
* not on Commit. */
return S_OK;
}
static const IPropertyStoreVtbl MMDevPropVtbl =
......
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