dsound: Improve the IDirectSoundCaptureBuffer::GetObjectInPath stub.

This commit is contained in:
Michael Stefaniuc 2012-09-17 21:06:51 +02:00 committed by Alexandre Julliard
parent caf6fe0588
commit 34b7e83357
1 changed files with 5 additions and 1 deletions

View File

@ -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,