SRB_FUNCTION_IO_CONTROL Maximum data transfer size?

Hi,

What is the maximum data size that can be transfered through Storport IOCTL calls using SRB_FUNCTION_IO_CONTROL function. As it uses METHOD_BUFFERED I/O there should be some limit on the data transfer size.

Please Let me know.

Thanks,
Prasad BM

I don’t think it is possible to know such limit. It would depends on available memory resources.
You should focus on a design which could work with any size of available memory. The simplest solution is to decrease a size of transfer memory if an application gets an error from DeviceIoControl.

Igor Sharovar