mmdevapi: Do nothing on property store Commit.

This commit is contained in:
Mark Harmstone 2015-02-02 18:03:54 +00:00 committed by Alexandre Julliard
parent 7b0d86514a
commit e20307099f
1 changed files with 11 additions and 2 deletions

View File

@ -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 =