- Add CLSID_PortWaveRT
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 12 May 2009 16:09:44 +0000 (16:09 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 12 May 2009 16:09:44 +0000 (16:09 +0000)
- Plugin IPortWaveRT port driver

svn path=/trunk/; revision=40902

reactos/drivers/wdm/audio/backpln/portcls/guids.c
reactos/drivers/wdm/audio/backpln/portcls/port.c
reactos/drivers/wdm/audio/backpln/portcls/private.h

index 0dd4a78..7f3999c 100644 (file)
@@ -14,6 +14,7 @@ const GUID CLSID_PortMidi = {0xb4c90a43L, 0x5791, 0x11d0, {0x86, 0xf9, 0x00, 0xa
 const GUID CLSID_PortWaveCyclic = {0xb4c90a2aL, 0x5791, 0x11d0, {0x86, 0xf9, 0x00, 0xa0, 0xc9, 0x11, 0xb5, 0x44}};
 const GUID CLSID_PortWavePci = {0xb4c90a54L, 0x5791, 0x11d0, {0x86, 0xf9, 0x00, 0xa0, 0xc9, 0x11, 0xb5, 0x44}};
 const GUID CLSID_PortDMus    = {0xb7902fe9L, 0xfb0a, 0x11d1, {0x81, 0xb0, 0x00, 0x60, 0x08, 0x33, 0x16, 0xc1}};
+const GUID CLSID_PortWaveRT  = {0xcc9be57a, 0xeb9e, 0x42b4, {0x94, 0xfc, 0xc, 0xad, 0x3d, 0xbc, 0xe7, 0xfa}};
 
 const GUID IID_IMiniportDMus = {0xc096df9dL, 0xfb09, 0x11d1, {0x81, 0xb0, 0x00, 0x60, 0x08, 0x33, 0x16, 0xc1}};
 const GUID IID_IMiniportTopology = {0xb4c90a31L, 0x5791, 0x11d0, {0x86, 0xf9, 0x00, 0xa0, 0xc9, 0x11, 0xb5, 0x44}};
index 13aa0a9..95f72e3 100644 (file)
@@ -40,6 +40,10 @@ PcNewPort(
         Status = NewPortWaveCyclic(OutPort);
     else if (IsEqualGUIDAligned(ClassId, &CLSID_PortWavePci))
         Status = NewPortWavePci(OutPort);
+#if (NTDDI_VERSION >= NTDDI_VISTA)
+    else if (IsEqualGUIDAligned(ClassId, &CLSID_PortWavePci))
+        Status = NewPortWaveRT(OutPort);
+#endif
     else
     {
 
index f3dc40d..cc11eb9 100644 (file)
@@ -140,6 +140,11 @@ NTSTATUS
 NewPortWaveRTStream(
     PPORTWAVERTSTREAM *OutStream);
 
+NTSTATUS
+NewPortWaveRT(
+    OUT PPORT* OutPort);
+
+
 #endif
 
 NTSTATUS