mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
dsound: Make capture behave like native in regards to COM aggregation.
This commit is contained in:
parent
13a4b03b44
commit
a3120ce80e
1 changed files with 5 additions and 1 deletions
|
@ -1065,6 +1065,11 @@ static HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(IDirectSoundCa
|
|||
|
||||
TRACE( "(%p,%p,%p,%p)\n",iface,lpcDSCBufferDesc,lplpDSCaptureBuffer,pUnk);
|
||||
|
||||
if (pUnk) {
|
||||
WARN("invalid parameter: pUnk != NULL\n");
|
||||
return DSERR_NOAGGREGATION;
|
||||
}
|
||||
|
||||
if (lpcDSCBufferDesc == NULL) {
|
||||
WARN("invalid parameter: lpcDSCBufferDesc == NULL)\n");
|
||||
return DSERR_INVALIDPARAM;
|
||||
|
@ -1270,7 +1275,6 @@ HRESULT WINAPI DirectSoundCaptureCreate(LPCGUID lpcGUID, IDirectSoundCapture **p
|
|||
|
||||
if (pUnkOuter) {
|
||||
WARN("invalid parameter: pUnkOuter != NULL\n");
|
||||
*ppDSC = NULL;
|
||||
return DSERR_NOAGGREGATION;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue