Author: janderwald
Date: Sun Jun 20 20:58:24 2010
New Revision: 47813
URL:
http://svn.reactos.org/svn/reactos?rev=47813&view=rev
Log:
[PORTCLS]
- Support IDrmPort / IDrmPort2 for IPortWavePci driver
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] Sun Jun
20 20:58:24 2010
@@ -186,6 +186,11 @@
*Output = PVOID(PSUBDEVICE(this));
PUNKNOWN(*Output)->AddRef();
return STATUS_SUCCESS;
+ }
+ else if (IsEqualGUIDAligned(refiid, IID_IDrmPort) ||
+ IsEqualGUIDAligned(refiid, IID_IDrmPort2))
+ {
+ return NewIDrmPort((PDRMPORT2*)Output);
}
else if (IsEqualGUIDAligned(refiid, IID_IPortClsVersion))
{