DFSWrite
Writes sectors into a file using DFS (sleeps until completion)
#include <nwdfs.h> LONG DFSWrite ( LONG fileHandle, LONG startingSector, LONG sectorCount, BYTE *buffer);
This function performs a write 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 writes relating to the requested write function are completed. If a status indicating a hole was detected during the requested read operation, the operation failed. It is not possible to write beyond the end of the allocated area of a file, or in holes where no blocks are allocated. This function sets a new file size if a write is issued to allocated file space beyond the current file size.