|
@@ -1,4 +1,4 @@
|
|
|
-
|
|
|
+
|
|
|
*
|
|
|
* You can redistribute this program and/or modify it under the terms of
|
|
|
* the GNU Lesser Public License as published by the Free Software Foundation,
|
|
@@ -467,6 +467,10 @@ namespace SMBLibrary
|
|
|
|
|
|
return NTStatus.STATUS_DIRECTORY_NOT_EMPTY;
|
|
|
}
|
|
|
+ else if (errorCode == (ushort)Win32Error.ERROR_BAD_PATHNAME)
|
|
|
+ {
|
|
|
+ return NTStatus.STATUS_OBJECT_PATH_INVALID;
|
|
|
+ }
|
|
|
else if (errorCode == (ushort)Win32Error.ERROR_ALREADY_EXISTS)
|
|
|
{
|
|
|
|