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 ...@@ -1469,8 +1469,17 @@ static HRESULT WINAPI MMDevPropStore_SetValue(IPropertyStore *iface, REFPROPERTY
static HRESULT WINAPI MMDevPropStore_Commit(IPropertyStore *iface) static HRESULT WINAPI MMDevPropStore_Commit(IPropertyStore *iface)
{ {
FIXME("stub\n"); MMDevPropStore *This = impl_from_IPropertyStore(iface);
return E_NOTIMPL; 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 = 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