// ntifs.h
void FsRtlTestAnsiCharacter(
C,
DEFAULT_RET,
WILD_OK,
FLAGS
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlTestAnsiCharacter macro determines whether an ANSI or double-byte character set (DBCS) character meets the specified criteria.
CPointer to the character to be tested.
DEFAULT_RETDefault value to be returned if the value of (SCHAR *)Character is < 0.
WILD_OKSet to TRUE if wildcard characters are to be considered legal, FALSE otherwise.
FLAGSCombination of one or more of the flag values described following.
| Flag | Meaning | |
|---|---|---|
| FSRTL_FAT_LEGAL | Valid characters for FAT file names are legal. | |
| FSRTL_HPFS_LEGAL | Valid characters for HPFS file names are legal. | |
| FSRTL_NTFS_LEGAL | Valid characters for NTFS file names are legal. | |
| FSRTL_WILD_CHARACTER | Wildcard characters are legal. | |
| FSRTL_OLE_LEGAL | Valid characters for NTFS stream names are legal. | |
| FSRTL_NTFS_STREAM_LEGAL | FSRTL_NTFS_LEGAL | FSRTL_OLE_LEGAL |
For information about other string-handling routines, see Run-Time Library (RTL) Routines.