hFile (HFILE) - input
mode (ULONG) - input
Possible modes are shown in the list below:
Bit
This flag bit is not inherited by child processes.
Media I/O errors generated through Category 08h Logical Disk Control IOCtl Commands are always reported directly to the caller by way of a return code. The Fail-Errors function applies only to non-IOCtl handle-based file I/O functions.
This flag bit is not inherited by child processes.
This bit is an advisory bit, and is used to advise file-system drivers and device drivers about whether the data should be cached. This bit, like the write-through bit, is a per-handle bit.
This bit is not inherited by child processes.
fhFileHandleLockID (FHLOCK) - input
ulrc (APIRET) - returns
DosProtectFHState returns one of the following values: