[PORTCLS]
[reactos.git] / reactos / drivers / wdm / audio / backpln / portcls / dma_slave.cpp
index a68e25e..7aefa8e 100644 (file)
@@ -194,6 +194,19 @@ CDmaChannelInit::MaximumBufferSize()
     return m_MaximumBufferSize;
 }
 
+#ifdef _MSC_VER
+
+PHYSICAL_ADDRESS
+NTAPI
+CDmaChannelInit::PhysicalAddress()
+{
+    DPRINT("CDmaChannelInit_PhysicalAdress: this %p Virtuell %p Physical High %x Low %x%\n", this, m_Buffer, m_Address.HighPart, m_Address.LowPart);
+
+    return m_Address;
+}
+
+#else
+
 PHYSICAL_ADDRESS
 NTAPI
 CDmaChannelInit::PhysicalAddress(
@@ -208,6 +221,9 @@ CDmaChannelInit::PhysicalAddress(
     return Result;
 }
 
+
+#endif
+
 VOID
 NTAPI
 CDmaChannelInit::SetBufferSize(