ValidateChars Function

Microchip MDD File System Interface

MDDFS Interface Library Help
ValidateChars Function
C
BYTE ValidateChars(
    char * FileName, 
    BYTE mode
);
Description

The ValidateChars function will compare characters in a specified filename to determine if they're permissable in the FAT file system. Lower-case characters will be converted to upper-case. If the mode argument is specifed to be 'TRUE,' partial string search characters are allowed.

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
fileName 
The name to be validated 
mode 
Determines if partial string search is allowed 
Return Values
Return Values 
Description 
TRUE 
Name was validated 
File name was not valid 
Side Effects

None

Remarks

None.

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.