pszDeviceName (PSZ) - input
phDevice (PHFILE) - input
psAction (PUSHORT) - input
cbFile (ULONG) - input
ulFat (ULONG) - input
fnOpen (ULONG) - input
flMode (ULONG) - input
lRes (ULONG) - input
rc (ULONG) - returns
This function returns the same codes as DosOpen:
ERROR_ACCESS_DENIED ERROR_CANNOT_MAKE
ERROR_DEVICE_IN_USE
ERROR_DISK_FULL
ERROR_DRIVE_LOCKED
ERROR_FILE_NOT_FOUND
ERROR_FILENAME_EXCED_RANGE
ERROR_INVALID_ACCESS
ERROR_INVALID_PARAMETER
ERROR_NOT_DOS_DISK
ERROR_OPEN_FAILED
ERROR_PATH_NOT_FOUND
ERROR_PIPE_BUSY
ERROR_SHARING_BUFFER_EXCEEDED
ERROR_SHARING_VIOLATION
ERROR_TOO_MANY_OPEN_FILES
NO_ERROR