[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

@@ -64,6 +64,14 @@ struct X_FILE_INTERNAL_INFORMATION {
};
static_assert_size(X_FILE_INTERNAL_INFORMATION, 8);
// https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_file_rename_information
struct X_FILE_RENAME_INFORMATION {
be<uint32_t> replace_existing;
be<uint32_t> root_dir_handle;
X_ANSI_STRING ansi_string;
};
static_assert_size(X_FILE_RENAME_INFORMATION, 16);
// https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/ns-ntddk-_file_disposition_information
struct X_FILE_DISPOSITION_INFORMATION {
uint8_t delete_file;