C
Description
This function will cache a directory entry in the directory specified by the dirclus parameter of hte FSFILE object 'fo.' The offset of the entry in the directory is specified by fHandle. Once the directory entry has been loaded, the first sector of the file can be loaded using the cluster value specified in the directory entry. The type argument will specify the mode the files will be opened in. This will allow this function to set the correct read/write flags for the file.
Preconditions
This function should not be called by the user.
Parameters
Return Values
Return Values |
Description |
CE_GOOD |
FILEopen successful |
CE_NOT_INIT |
Device is not yet initialized |
CE_FILE_NOT_FOUND |
Could not find the file on the device |
CE_BAD_SECTOR_READ |
A bad read of a sector occured |
Side Effects
None
Remarks