pub struct FileId64ExtdBothDirectoryInformation {Show 15 fields
pub file_index: u32,
pub creation_time: FileTime,
pub last_access_time: FileTime,
pub last_write_time: FileTime,
pub change_time: FileTime,
pub end_of_file: u64,
pub allocation_size: u64,
pub file_attributes: FileAttributes,
pub ea_size: Option<u32>,
pub reparse_tag: Option<ReparseTag>,
pub reparse_point_tag: u32,
pub file_id: u64,
pub short_name_length: u8,
pub short_name: FixedWideString<12>,
pub file_name: SizedWideString,
}Expand description
Query detailed information for the files in a directory.
Note: This should be wrapped in
ChainedItemList<T>to represent a list of these structures.
Fields§
§file_index: u32The byte offset of the file within the parent directory. This member is undefined for file systems, such as NTFS, in which the position of a file within the parent directory is not fixed and can be changed at any time to maintain sort order.
creation_time: FileTimeThe time when the file was created.
last_access_time: FileTimeThe time when the file was last accessed.
last_write_time: FileTimeThe time when data was last written to the file.
change_time: FileTimeThe time when the file was last changed.
end_of_file: u64The absolute new end-of-file position as a byte offset from the start of the file.
allocation_size: u64The number of bytes allocated for the file.
file_attributes: FileAttributesThe file attributes.
ea_size: Option<u32>The size of the extended attributes for the file.
reparse_tag: Option<ReparseTag>The reparse point tag. If the file is not a reparse point, this value is 0.
reparse_point_tag: u32The reparse point tag. If the file is not a reparse point, this value is 0.
file_id: u64The file ID.
short_name_length: u8The length, in bytes, of the short name string.
short_name: FixedWideString<12>The short (8.3) name of the file.
file_name: SizedWideStringThe name of the file.
Trait Implementations§
Source§impl BinRead for FileId64ExtdBothDirectoryInformation
impl BinRead for FileId64ExtdBothDirectoryInformation
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for FileId64ExtdBothDirectoryInformation
impl BinWrite for FileId64ExtdBothDirectoryInformation
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Self to the writer assuming little-endian byte order. Read moreSource§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Self to the writer assuming native-endian byte order. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreSource§impl From<FileId64ExtdBothDirectoryInformation> for QueryDirectoryInfo
impl From<FileId64ExtdBothDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileId64ExtdBothDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileId64ExtdBothDirectoryInformation) -> QueryDirectoryInfo
Source§impl PartialEq for FileId64ExtdBothDirectoryInformation
impl PartialEq for FileId64ExtdBothDirectoryInformation
Source§fn eq(&self, other: &FileId64ExtdBothDirectoryInformation) -> bool
fn eq(&self, other: &FileId64ExtdBothDirectoryInformation) -> bool
self and other values to be equal, and is used by ==.