C
BYTE GetPreviousEntry( FSFILE * fo );
Description
The GetPreviousEntry function is used by the FSgetcwd function to load the previous (parent) directory. This function will load the parent directory and then search through the file entries in that directory for one that matches the cluster number of the original directory. When the matching entry is found, the name of the original directory is copied into the 'fo' FSFILE object.
Preconditions
Should not be called by the user.
Parameters
Parameters |
Description |
fo |
The file to get the previous entry of |
Return Values
Return Values |
Description |
0 |
The previous entry was successfully retrieved |
-1 |
The previous entry could not be retrieved |
Side Effects
None
Remarks
None.