mmdevapi: Do nothing on property store Commit.
This commit is contained in:
parent
7b0d86514a
commit
e20307099f
@ -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 =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user