From: Michael Stefaniuc Subject: dsound: Improve the IDirectSoundCaptureBuffer::GetObjectInPath stub Message-Id: <20120917190651.GA4209@redhat.com> Date: Mon, 17 Sep 2012 21:06:51 +0200 --- Should help with http://bugs.winehq.org/show_bug.cgi?id=27119 dlls/dsound/capture.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c index 309702a..5336b59 100644 --- a/dlls/dsound/capture.c +++ b/dlls/dsound/capture.c @@ -583,7 +583,11 @@ static HRESULT WINAPI IDirectSoundCaptureBufferImpl_GetObjectInPath(IDirectSound FIXME( "(%p,%s,%u,%s,%p): stub\n", This, debugstr_guid(rguidObject), dwIndex, debugstr_guid(rguidInterface), ppObject ); - return DS_OK; + if (!ppObject) + return DSERR_INVALIDPARAM; + + *ppObject = NULL; + return DSERR_CONTROLUNAVAIL; } static HRESULT WINAPI IDirectSoundCaptureBufferImpl_GetFXStatus(IDirectSoundCaptureBuffer8 *iface, -- 1.7.6.5