Browse Source

CreateFile: Return STATUS_NO_SUCH_FILE when file not found

PowerPoint 2010 was not able to save when STATUS_OBJECT_PATH_NOT_FOUND
was returned
Tal Aloni 8 years ago
parent
commit
ef6551aaca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs

+ 1 - 1
SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs

@@ -66,7 +66,7 @@ namespace SMBLibrary
             {
                 if (entry == null)
                 {
-                    return NTStatus.STATUS_OBJECT_PATH_NOT_FOUND;
+                    return NTStatus.STATUS_NO_SUCH_FILE;
                 }
 
                 fileStatus = FileStatus.FILE_EXISTS;