Once created, this structure will never change if it points to another directory. Except if the entry is removed.
Definition at line 86 of file phatdir.h.
Data Fields | |
u_char | dent_name [11] |
File name, padded with blanks. | |
u_char | dent_attr |
File attributes. | |
u_char | dent_rsvdnt |
Reserved byte, possibly used by NT. | |
u_char | dent_ctsecs |
Hundredth of seconds of file creation time. | |
u_short | dent_ctime |
File creation time. | |
u_short | dent_cdate |
File creation date. | |
u_short | dent_adate |
Last file access date. | |
u_short | dent_clusthi |
High bytes of first cluster of this file. | |
u_short | dent_mtime |
Last file modification time. | |
u_short | dent_mdate |
Last file modification date. | |
u_short | dent_clust |
First cluster used. | |
u_long | dent_fsize |
Size of the file in bytes. |
File name, padded with blanks.
Definition at line 88 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirCreate(), PhatDirRemove(), and PhatFileOpen().
File attributes.
See PHAT_FATTR_ flags.
Definition at line 93 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirEntryCreate(), PhatDirEntryFind(), PhatDirEntryStatus(), PhatDirOpen(), PhatDirRead(), PhatDirReleaseChain(), PhatDirRemove(), PhatFileOpen(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Reserved byte, possibly used by NT.
Definition at line 95 of file phatdir.h.
Referenced by PhatDbgDirEntry(), and PhatFileOpen().
Hundredth of seconds of file creation time.
Definition at line 97 of file phatdir.h.
Referenced by PhatDbgDirEntry(), and PhatFileOpen().
File creation time.
Definition at line 99 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirEntryCreate(), and PhatFileOpen().
File creation date.
Definition at line 101 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirEntryCreate(), and PhatFileOpen().
Last file access date.
Definition at line 103 of file phatdir.h.
Referenced by PhatDbgDirEntry(), and PhatDirEntryCreate().
High bytes of first cluster of this file.
If used with the double dot entry, dent_clusthi and dent_clust must be zero if the entry points to the root directory.
The same is true when pointing to a normal file with zero length.
Definition at line 112 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirCreate(), PhatDirOpen(), PhatDirReleaseChain(), PhatFileOpen(), and PhatFilePosRewind().
Last file modification time.
Definition at line 114 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirEntryCreate(), and PhatDirEntryStatus().
Last file modification date.
Definition at line 116 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirEntryCreate(), and PhatDirEntryStatus().
First cluster used.
This is zero for empty files.
Definition at line 121 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirCreate(), PhatDirOpen(), PhatDirReleaseChain(), PhatFileOpen(), and PhatFilePosRewind().
Size of the file in bytes.
For directories, this is always zero.
Definition at line 126 of file phatdir.h.
Referenced by PhatDbgDirEntry(), PhatDirEntryStatus(), PhatFileOpen(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().