C
BYTE FormatFileName( const char* fileName, char* fN2, BYTE mode );
Description
Format an 8.3 filename into FSFILE structure format. If filename is less than 8 chars, then it will be padded with spaces. If the extension name is fewer than 3 chars, then it will also be oadded with spaces. The ValidateChars function is used to ensure the characters in the specified filename are valid in this filesystem.
Preconditions
This function should not be called by the user.
Parameters
Parameters |
Description |
fileName |
The name to be formatted |
fN2 |
The location the formatted name will be stored |
mode |
Non-zero if parital string search chars are allowed |
Return Values
Side Effects
None
Remarks
None.