diff --git a/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp b/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp index a68e25ea8ef..35109f06685 100644 --- a/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp +++ b/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp @@ -196,18 +196,14 @@ CDmaChannelInit::MaximumBufferSize() PHYSICAL_ADDRESS NTAPI -CDmaChannelInit::PhysicalAddress( - PPHYSICAL_ADDRESS Address) +CDmaChannelInit::PhysicalAddress() { DPRINT("CDmaChannelInit_PhysicalAdress: this %p Virtuell %p Physical High %x Low %x%\n", this, m_Buffer, m_Address.HighPart, m_Address.LowPart); - PHYSICAL_ADDRESS Result; - - Address->QuadPart = m_Address.QuadPart; - Result.QuadPart = (PtrToUlong(Address)); - return Result; + return m_Address; } + VOID NTAPI CDmaChannelInit::SetBufferSize( diff --git a/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp b/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp index 9163a6a78d6..bec3ccd68b1 100644 --- a/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp +++ b/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp @@ -903,8 +903,7 @@ typedef IPortPinDMus *PPORTPINDMUS; IN ULONG BufferSize); \ \ STDMETHODIMP_(PVOID) SystemAddress(void); \ - STDMETHODIMP_(PHYSICAL_ADDRESS) PhysicalAddress( \ - IN PPHYSICAL_ADDRESS PhysicalAddressConstraint OPTIONAL); \ + STDMETHODIMP_(PHYSICAL_ADDRESS) PhysicalAddress(); \ STDMETHODIMP_(PADAPTER_OBJECT) GetAdapterObject(void); \ \ STDMETHODIMP_(void) CopyTo( \ @@ -950,8 +949,7 @@ typedef IPortPinDMus *PPORTPINDMUS; IN ULONG BufferSize) PURE; \ \ STDMETHOD_(PVOID, SystemAddress)( THIS ) PURE; \ - STDMETHOD_(PHYSICAL_ADDRESS, PhysicalAddress)( THIS_ \ - IN PPHYSICAL_ADDRESS Address) PURE; \ + STDMETHOD_(PHYSICAL_ADDRESS, PhysicalAddress)( THIS) PURE; \ STDMETHOD_(PADAPTER_OBJECT, GetAdapterObject)( THIS ) PURE; \ \ STDMETHOD_(void, CopyTo)( THIS_ \