Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The FsRtlTestAnsiCharacter macro determines whether an ANSI or double-byte character set (DBCS) character meets the specified criteria.
Syntax
void FsRtlTestAnsiCharacter(
C,
DEFAULT_RET,
WILD_OK,
FLAGS
);
Parameters
C
Pointer to the character to be tested.
DEFAULT_RET
Default value to be returned if the value of (SCHAR *)Character is < 0.
WILD_OK
Set to TRUE if wildcard characters are to be considered legal, FALSE otherwise.
FLAGS
Combination 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 |
Return value
None
Remarks
For information about other string-handling routines, see Run-Time Library (RTL) Routines.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ntifs.h (include Ntifs.h) |
IRQL | Any level |