DFSRead
Reads the sectors requested from a file using DFS (sleeps until completion)
#include <nwdfs.h>
LONG DFSRead (
LONG fileHandle,
LONG startingSector,
LONG sectorCount,
BYTE *buffer);
This function performs a read of one or more sectors using a logical zero-based sector offset into the indicated file. Since this function is blocking, control is returned to the caller after all reads relating to the requested read function have been completed. If a status indicating a hole was detected during the requested read operation, the buffer is zeroed. It is not possible to read beyond the end of the allocated area of a file.