DosListIO - Remarks

DosListIO applies the same restrictions for each seek/read and seek/write operations as would be applied if the requests were issued separately with DosSetFilePtr, DosRead, and DosWrite.

The actual number of bytes read or written, along with the operation return code are returned in the LISTIO structure upon completion of the request, therefore care must be taken that the memory containing the LISTIO control blocks is not deallocated or manipulated by another thread before the DosListIO request returns.

There are two valid modes for the list of I/O operations to be processed.