Nikolay Sivov : dmsynth: Use E_NOT_SUFFICIENT_BUFFER definition.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 7 14:49:55 CDT 2014


Module: wine
Branch: master
Commit: 477dfbca59d6dc0fa0cf77f1534d073e68a39e2e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=477dfbca59d6dc0fa0cf77f1534d073e68a39e2e

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Oct  7 09:36:48 2014 +0400

dmsynth: Use E_NOT_SUFFICIENT_BUFFER definition.

---

 dlls/dmsynth/synth.c     | 2 +-
 dlls/dmsynth/synthsink.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dmsynth/synth.c b/dlls/dmsynth/synth.c
index 9850628..af8a6fd 100644
--- a/dlls/dmsynth/synth.c
+++ b/dlls/dmsynth/synth.c
@@ -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))
     {
diff --git a/dlls/dmsynth/synthsink.c b/dlls/dmsynth/synthsink.c
index c5a1c7e..498c390 100644
--- a/dlls/dmsynth/synthsink.c
+++ b/dlls/dmsynth/synthsink.c
@@ -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))
     {




More information about the wine-cvs mailing list