Report an invalid access error for STATUS_STOPPED_ON_SYMLINK.

Since the GS has no concept of symlinks, we can't really support them.
This commit is contained in:
Stephen Heumann
2024-07-18 12:52:46 -05:00
parent 5a1900ecfb
commit 5f7ac9232b
2 changed files with 2 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ Word ConvertError(ReadStatus rs) {
case STATUS_CANNOT_DELETE:
case STATUS_DIRECTORY_NOT_EMPTY:
case STATUS_QUOTA_EXCEEDED:
case STATUS_STOPPED_ON_SYMLINK:
return invalidAccess;
case STATUS_SHARING_VIOLATION:

View File

@@ -23,6 +23,7 @@
#define STATUS_BUFFER_OVERFLOW 0x80000005
#define STATUS_NO_MORE_FILES 0x80000006
#define STATUS_STOPPED_ON_SYMLINK 0x8000002D
#define STATUS_ACCESS_DENIED 0xC0000022
#define STATUS_CANNOT_DELETE 0xC0000121