HPGCC3 Documentation 3.0 R003

__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 348 of file fsystem.h.


Field Documentation

unsigned __file::Attr

File Attribute

Definition at line 356 of file fsystem.h.

**Internal**: Cluster chain

Definition at line 412 of file fsystem.h.

unsigned int __file::CreatTimeDate

Create time and date (DOS format)

Definition at line 380 of file fsystem.h.

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

Definition at line 368 of file fsystem.h.

unsigned int __file::CurrentOffset

Current file offset pointer

Definition at line 396 of file fsystem.h.

Pointer to parent directory

Definition at line 408 of file fsystem.h.

Number of directory entries this file uses

Definition at line 400 of file fsystem.h.

Offset of file entry within its parent directory

Definition at line 400 of file fsystem.h.

unsigned int __file::FileSize

File size in bytes

Definition at line 392 of file fsystem.h.

First cluster allocated to the file

Definition at line 388 of file fsystem.h.

Last Access Date

Definition at line 368 of file fsystem.h.

unsigned __file::Mode

Any combination of the FSMODE_XXX constants

Definition at line 356 of file fsystem.h.

char* __file::Name

File name, including period and file extension, NULL terminated

Definition at line 352 of file fsystem.h.

unsigned __file::NTRes

Reserved

Definition at line 368 of file fsystem.h.

**Internal**: Read/Write buffers

Definition at line 416 of file fsystem.h.

unsigned __file::Volume

Volume that contains this file (0-3)

Definition at line 356 of file fsystem.h.

Definition at line 416 of file fsystem.h.

unsigned int __file::WriteTimeDate

Last write time and date (DOS format)

Definition at line 384 of file fsystem.h.


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