Browse Source

INTFileStore: Added SetFileSystemInformation method

Tal Aloni 7 years ago
parent
commit
b358e4865d

+ 5 - 0
SMBLibrary/Client/SMB1FileStore.cs

@@ -272,6 +272,11 @@ namespace SMBLibrary.Client
             throw new NotImplementedException();
         }
 
+        public NTStatus SetFileSystemInformation(FileSystemInformation information)
+        {
+            throw new NotImplementedException();
+        }
+
         public NTStatus GetFileSystemInformation(out QueryFSInformation result, QueryFSInformationLevel informationLevel)
         {
             result = null;

+ 5 - 0
SMBLibrary/Client/SMB2FileStore.cs

@@ -144,6 +144,11 @@ namespace SMBLibrary.Client
             throw new NotImplementedException();
         }
 
+        public NTStatus SetFileSystemInformation(FileSystemInformation information)
+        {
+            throw new NotImplementedException();
+        }
+
         public NTStatus GetSecurityInformation(out SecurityDescriptor result, object handle, SecurityInformation securityInformation)
         {
             result = null;

+ 5 - 0
SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.QueryFileSystem.cs

@@ -97,5 +97,10 @@ namespace SMBLibrary
                     }
             }
         }
+
+        public NTStatus SetFileSystemInformation(FileSystemInformation information)
+        {
+            return NTStatus.STATUS_NOT_SUPPORTED;
+        }
     }
 }

+ 2 - 0
SMBLibrary/NTFileStore/INTFileStore.cs

@@ -40,6 +40,8 @@ namespace SMBLibrary
 
         NTStatus GetFileSystemInformation(out FileSystemInformation result, FileSystemInformationClass informationClass);
 
+        NTStatus SetFileSystemInformation(FileSystemInformation information);
+
         NTStatus GetSecurityInformation(out SecurityDescriptor result, object handle, SecurityInformation securityInformation);
 
         NTStatus SetSecurityInformation(object handle, SecurityInformation securityInformation, SecurityDescriptor securityDescriptor);

+ 5 - 0
SMBLibrary/NTFileStore/NamedPipeStore.cs

@@ -209,6 +209,11 @@ namespace SMBLibrary
             return NTStatus.STATUS_NOT_SUPPORTED;
         }
 
+        public NTStatus SetFileSystemInformation(FileSystemInformation information)
+        {
+            return NTStatus.STATUS_NOT_SUPPORTED;
+        }
+
         public NTStatus GetSecurityInformation(out SecurityDescriptor result, object handle, SecurityInformation securityInformation)
         {
             result = null;

+ 5 - 0
SMBLibrary/Win32/NTFileStore/NTDirectoryFileSystem.cs

@@ -362,6 +362,11 @@ namespace SMBLibrary.Win32
             return status;
         }
 
+        public NTStatus SetFileSystemInformation(FileSystemInformation information)
+        {
+            return NTStatus.STATUS_NOT_SUPPORTED;
+        }
+
         public NTStatus GetSecurityInformation(out SecurityDescriptor result, object handle, SecurityInformation securityInformation)
         {
             result = null;