[Kernel] Added Support For: XFileRenameInformation

This commit is contained in:
Gliniak
2024-01-29 22:03:58 +01:00
parent 8b14b4bbc4
commit 74b52711a3
11 changed files with 134 additions and 64 deletions

View File

@@ -111,6 +111,7 @@ class Entry {
bool Delete();
void Touch();
void Rename(const std::filesystem::path file_path);
// If successful, out_file points to a new file. When finished, call
// file->Destroy()
virtual X_STATUS Open(uint32_t desired_access, File** out_file) = 0;
@@ -131,6 +132,7 @@ class Entry {
return nullptr;
}
virtual bool DeleteEntryInternal(Entry* entry) { return false; }
virtual void RenameEntryInternal(const std::filesystem::path file_path) {}
xe::global_critical_region global_critical_region_;
Device* device_;