mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +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 New Issue
Block a user