mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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. |
||
---|---|---|
.. | ||
base | ||
battery | ||
bluetooth | ||
bus | ||
crypto | ||
filesystems | ||
filters | ||
hid | ||
input | ||
ksfilter | ||
multimedia | ||
network | ||
parallel | ||
processor | ||
sac | ||
serial | ||
setup | ||
storage | ||
usb | ||
wdm | ||
wmi | ||
CMakeLists.txt |