Michael Stefaniuc : dsound: Improve the IDirectSoundCaptureBuffer:: GetObjectInPath stub.
Alexandre Julliard
julliard at winehq.org
Tue Sep 18 14:04:28 CDT 2012
Module: wine
Branch: master
Commit: 34b7e83357f539647aa56274d337de07cfac99dd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=34b7e83357f539647aa56274d337de07cfac99dd
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Sep 17 21:06:51 2012 +0200
dsound: Improve the IDirectSoundCaptureBuffer::GetObjectInPath stub.
---
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,
More information about the wine-cvs
mailing list