[PORTCLS]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 20 Jun 2010 20:58:24 +0000 (20:58 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 20 Jun 2010 20:58:24 +0000 (20:58 +0000)
- Support IDrmPort / IDrmPort2 for IPortWavePci driver

svn path=/trunk/; revision=47813

reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp

index 34e0138..7e55116 100644 (file)
@@ -187,6 +187,11 @@ CPortWavePci::QueryInterface(
         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))
     {
         return NewPortClsVersion((PPORTCLSVERSION*)Output);