Author: janderwald
Date: Tue Mar 2 17:48:28 2010
New Revision: 45760
URL:
http://svn.reactos.org/svn/reactos?rev=45760&view=rev
Log:
[PORTCLS]
- Add support for IPort interface
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp [iso-8859-1] Tue Mar
2 17:48:28 2010
@@ -161,8 +161,9 @@
DPRINT("IPortWavePci_fnQueryInterface entered\n");
- if (IsEqualGUIDAligned(refiid, IID_IPortWavePci) ||
- IsEqualGUIDAligned(refiid, IID_IUnknown))
+ if (IsEqualGUIDAligned(refiid, IID_IPortWavePci) ||
+ IsEqualGUIDAligned(refiid, IID_IUnknown) ||
+ IsEqualGUIDAligned(refiid, IID_IPort))
{
*Output = PVOID(PPORTWAVEPCI(this));
PUNKNOWN(*Output)->AddRef();
@@ -171,7 +172,7 @@
else if (IsEqualGUIDAligned(refiid, IID_IServiceSink))
{
*Output = PVOID(PSERVICESINK(this));
- PUNKNOWN(*Output)->AddRef();
+ PUNKNOWN(*Output)->AddRef();
return STATUS_SUCCESS;
}
else if (IsEqualGUIDAligned(refiid, IID_IPortEvents))
@@ -183,7 +184,7 @@
else if (IsEqualGUIDAligned(refiid, IID_ISubdevice))
{
*Output = PVOID(PSUBDEVICE(this));
- PUNKNOWN(*Output)->AddRef();
+ PUNKNOWN(*Output)->AddRef();
return STATUS_SUCCESS;
}
else if (IsEqualGUIDAligned(refiid, IID_IPortClsVersion))