Bool32 FStrFitsPat(pat, str, pLen, sLen);
Determines whether a filename, str, matches a pattern, pat.
Name | Type | Description |
---|---|---|
pat | uChar * | Pattern (string) to which filename is to be compared. The following characters have special meanings in the pattern.
\ is literal, not treated as having a special meaning. A single backslash at the end of pat is the same as two backslashes. ? matches any one character. * matches zero or more characters. |
str | uChar * | Filename (string) to compare to pattern. |
pLen | int32 | Number of characters in pat. |
sLen | int32 | Number of characters in str. |
Bool32, which can contain the following values.
Value | Description |
---|---|
TRUE | Filename fits the pattern. |
FALSE | Filename does not match the pattern. |