DFSclose
Closes a file currently open in Direct File Mode
#include <nwdfs.h>
LONG DFSclose (
LONG fileHandle);
Calling DFSclose causes the file to be closed (the handle becomes invalid). If DFSClose determines that this was the last valid handle (no other opens outstanding for the file), the Direct File Mode flag is reset, allowing a subsequent open file call to be either open (normal mode), or DFSsOpen (direct mode). Remember, if a file is in direct mode, any programs with normal mode opens into the file are able to read the file but not write to it (see Input and Output).