__file Struct Reference

Main structure FS_FILE. More...

#include <fsystem.h>


Data Fields

char * Name
unsigned Volume:8
unsigned Mode:8
unsigned Attr:8
unsigned NTRes:8
unsigned CrtTmTenth:8
unsigned LastAccDate:16
unsigned int CreatTimeDate
unsigned int WriteTimeDate
int FirstCluster
unsigned int FileSize
unsigned int CurrentOffset
int DirEntryOffset
int DirEntryNum
FS_FILEDir
FS_FRAGMENT Chain
FS_BUFFER RdBuffer
FS_BUFFER WrBuffer


Detailed Description

Main structure FS_FILE.

This structure encapsulates all the information needed to handle a file.

Definition at line 352 of file fsystem.h.


Field Documentation

char* __file::Name

File name, including period and file extension, NULL terminated

Definition at line 356 of file fsystem.h.

unsigned __file::Volume

Volume that contains this file (0-3)

Definition at line 360 of file fsystem.h.

unsigned __file::Mode

Any combination of the FSMODE_XXX constants

Definition at line 360 of file fsystem.h.

unsigned __file::Attr

File Attribute

Definition at line 360 of file fsystem.h.

unsigned __file::NTRes

Reserved

Definition at line 372 of file fsystem.h.

unsigned __file::CrtTmTenth

Create time fraction, hundredths of second (0-199)

Definition at line 372 of file fsystem.h.

unsigned __file::LastAccDate

Last Access Date

Definition at line 372 of file fsystem.h.

unsigned int __file::CreatTimeDate

Create time and date (DOS format)

Definition at line 384 of file fsystem.h.

unsigned int __file::WriteTimeDate

Last write time and date (DOS format)

Definition at line 388 of file fsystem.h.

int __file::FirstCluster

First cluster allocated to the file

Definition at line 392 of file fsystem.h.

unsigned int __file::FileSize

File size in bytes

Definition at line 396 of file fsystem.h.

unsigned int __file::CurrentOffset

Current file offset pointer

Definition at line 400 of file fsystem.h.

int __file::DirEntryOffset

Offset of file entry within its parent directory

Definition at line 404 of file fsystem.h.

int __file::DirEntryNum

Number of directory entries this file uses

Definition at line 404 of file fsystem.h.

FS_FILE* __file::Dir

Pointer to parent directory

Definition at line 412 of file fsystem.h.

FS_FRAGMENT __file::Chain

**Internal**: Cluster chain

Definition at line 416 of file fsystem.h.

FS_BUFFER __file::RdBuffer

**Internal**: Read/Write buffers

Definition at line 420 of file fsystem.h.

FS_BUFFER __file::WrBuffer

Definition at line 420 of file fsystem.h.


The documentation for this struct was generated from the following file:
Generated on Sat Feb 17 00:05:27 2007 for FILESYSTEM by  doxygen 1.5.0