Replace most magic numbers from previous commit with named constants, if the constants names are known.
Instead of low 32 bits of ptr, use hash of file path for sector information.
This commit is contained in:
@@ -54,8 +54,12 @@ struct X_FILE_FS_ATTRIBUTE_INFORMATION {
|
||||
};
|
||||
static_assert_size(X_FILE_FS_ATTRIBUTE_INFORMATION, 16);
|
||||
|
||||
enum X_FILE_DEVICE_TYPE : uint32_t {
|
||||
FILE_DEVICE_UNKNOWN = 0x22
|
||||
};
|
||||
|
||||
struct X_FILE_FS_DEVICE_INFORMATION {
|
||||
be<uint32_t> device_type;
|
||||
be<X_FILE_DEVICE_TYPE> device_type;
|
||||
be<uint32_t> characteristics;
|
||||
};
|
||||
static_assert_size(X_FILE_FS_DEVICE_INFORMATION, 8);
|
||||
|
||||
Reference in New Issue
Block a user