mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 11:40:30 +00:00
dmsynth: Use E_NOT_SUFFICIENT_BUFFER definition.
This commit is contained in:
parent
6db64236a1
commit
477dfbca59
|
@ -511,7 +511,7 @@ static HRESULT WINAPI DMSynthImpl_IKsControl_KsProperty(IKsControl* iface, PKSPR
|
|||
}
|
||||
|
||||
if (DataLength < sizeof(DWORD))
|
||||
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
|
||||
return E_NOT_SUFFICIENT_BUFFER;
|
||||
|
||||
if (IsEqualGUID(&Property->u.s.Set, &GUID_DMUS_PROP_INSTRUMENT2))
|
||||
{
|
||||
|
|
|
@ -223,7 +223,7 @@ static HRESULT WINAPI DMSynthSinkImpl_IKsControl_KsProperty(IKsControl* iface, P
|
|||
}
|
||||
|
||||
if (DataLength < sizeof(DWORD))
|
||||
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
|
||||
return E_NOT_SUFFICIENT_BUFFER;
|
||||
|
||||
if (IsEqualGUID(&Property->u.s.Set, &GUID_DMUS_PROP_SinkUsesDSound))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue