mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 23:58:44 +00:00
e45bacda07
Replace call to AllocatedBufferSize(), with BufferSize(). Indeed (quoting https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/portcls/nf-portcls-idmachannel-buffersize ): > The BufferSize() method returns the buffer size that was set by the previous call to IDmaChannel::SetBufferSize(). If SetBufferSize() has not been called since the IDmaChannel::AllocateBuffer() call, BufferSize returns the allocated buffer size. The DMA-channel object does not actually use this value internally. This value is maintained by the object to **allow its various clients to communicate the intended size of the buffer**. And this is exactly what we want to do. |
||
---|---|---|
.. | ||
adapter.cpp | ||
api.cpp | ||
CMakeLists.txt | ||
connection.cpp | ||
dispatcher.cpp | ||
dll.cpp | ||
dma_slave.cpp | ||
drm.cpp | ||
drm_port.cpp | ||
filter_dmus.cpp | ||
filter_topology.cpp | ||
filter_wavecyclic.cpp | ||
filter_wavepci.cpp | ||
filter_wavert.cpp | ||
guid.cpp | ||
interfaces.hpp | ||
interrupt.cpp | ||
irp.cpp | ||
irpstream.cpp | ||
miniport.cpp | ||
miniport_dmus.cpp | ||
miniport_fmsynth.cpp | ||
pin_dmus.cpp | ||
pin_wavecyclic.cpp | ||
pin_wavepci.cpp | ||
pin_wavert.cpp | ||
pool.cpp | ||
port.cpp | ||
port_dmus.cpp | ||
port_topology.cpp | ||
port_wavecyclic.cpp | ||
port_wavepci.cpp | ||
port_wavert.cpp | ||
port_wavertstream.cpp | ||
portcls.rc | ||
portcls.spec | ||
power.cpp | ||
private.hpp | ||
propertyhandler.cpp | ||
purecall.cpp | ||
registry.cpp | ||
resource.cpp | ||
service_group.cpp | ||
undoc.cpp | ||
unregister.cpp | ||
version.cpp |