Revert "amstream: Fix the condition of existence of the IMediaStream interface."
This reverts commit 653c7e7dca
.
This commit is contained in:
parent
54ef871161
commit
c41a903969
|
@ -71,8 +71,7 @@ static HRESULT WINAPI IMediaStreamImpl_QueryInterface(IMediaStream* iface, REFII
|
||||||
TRACE("(%p/%p)->(%s,%p)\n", iface, This, debugstr_guid(riid), ppvObject);
|
TRACE("(%p/%p)->(%s,%p)\n", iface, This, debugstr_guid(riid), ppvObject);
|
||||||
|
|
||||||
if (IsEqualGUID(riid, &IID_IUnknown) ||
|
if (IsEqualGUID(riid, &IID_IUnknown) ||
|
||||||
IsEqualGUID(riid, &IID_IAMMultiMediaStream) ||
|
IsEqualGUID(riid, &IID_IAMMultiMediaStream))
|
||||||
IsEqualGUID(riid, &IID_IDirectDrawMediaStream))
|
|
||||||
{
|
{
|
||||||
IClassFactory_AddRef(iface);
|
IClassFactory_AddRef(iface);
|
||||||
*ppvObject = This;
|
*ppvObject = This;
|
||||||
|
|
Loading…
Reference in New Issue