ReXGlue SDK
Loading...
Searching...
No Matches
rex::kernel::X_FILE_DIRECTORY_INFORMATION Class Reference

#include <rex/kernel/object/file_object.h>

Public Member Functions

void Write (u8 *base, u32 guest_address)

Public Attributes

be_u32 next_entry_offset
be_u32 file_index
be_u64 creation_time
be_u64 last_access_time
be_u64 last_write_time
be_u64 change_time
be_u64 end_of_file
be_u64 allocation_size
be_u32 attributes
be_u32 file_name_length
char file_name [1]

Detailed Description

Guest layout of one entry of a directory listing, chained through next_entry_offset.

Member Function Documentation

◆ Write()

void rex::kernel::X_FILE_DIRECTORY_INFORMATION::Write ( u8 * base,
u32 guest_address )
inline

Copies this entry and the entries chained after it into guest memory.

Parameters
guest_addressThe guest address of the first copy.

Member Data Documentation

◆ allocation_size

be_u64 rex::kernel::X_FILE_DIRECTORY_INFORMATION::allocation_size

Size in bytes the file occupies on disk.

◆ file_name

char rex::kernel::X_FILE_DIRECTORY_INFORMATION::file_name[1]

First character of the name, which continues past the struct.

◆ file_name_length

be_u32 rex::kernel::X_FILE_DIRECTORY_INFORMATION::file_name_length

Length of file_name in bytes.

◆ next_entry_offset

be_u32 rex::kernel::X_FILE_DIRECTORY_INFORMATION::next_entry_offset

Offset in bytes from this entry to the next, 0 for the last.


The documentation for this class was generated from the following file: