mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	inc, dll, dotnet: FSP_FILE_SYSTEM_INTERFACE::SetDelete
This commit is contained in:
		| @@ -1047,13 +1047,22 @@ FSP_API NTSTATUS FspFileSystemOpSetInformation(FSP_FILE_SYSTEM *FileSystem, | ||||
|                 break; | ||||
|             } | ||||
|         } | ||||
|         if (0 != FileSystem->Interface->CanDelete) | ||||
|         if (0 != FileSystem->Interface->SetDelete) | ||||
|         { | ||||
|             Result = FileSystem->Interface->SetDelete(FileSystem, | ||||
|                 (PVOID)ValOfFileContext(Request->Req.SetInformation), | ||||
|                 (PWSTR)Request->Buffer, | ||||
|                 Request->Req.SetInformation.Info.Disposition.Delete); | ||||
|         } | ||||
|         else if (0 != FileSystem->Interface->CanDelete) | ||||
|         { | ||||
|             if (Request->Req.SetInformation.Info.Disposition.Delete) | ||||
|                 Result = FileSystem->Interface->CanDelete(FileSystem, | ||||
|                     (PVOID)ValOfFileContext(Request->Req.SetInformation), | ||||
|                     (PWSTR)Request->Buffer); | ||||
|             else | ||||
|                 Result = STATUS_SUCCESS; | ||||
|         } | ||||
|         break; | ||||
|     case 10/*FileRenameInformation*/: | ||||
|         if (0 != FileSystem->Interface->Rename) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user