FsRtlTestAnsiCharacter - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

void FsRtlTestAnsiCharacter(
  C,
  DEFAULT_RET,
  WILD_OK,
  FLAGS
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-fsrtltestansicharacter)

FsRtlTestAnsiCharacter macro

Description

The FsRtlTestAnsiCharacter macro determines whether an ANSI or double-byte character set (DBCS) character meets the specified criteria.

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

Remarks

For information about other string-handling routines, see Run-Time Library (RTL) Routines.

See also

FsRtlIsAnsiCharacterLegal

FsRtlIsAnsiCharacterLegalFat

FsRtlIsAnsiCharacterLegalHpfs

FsRtlIsAnsiCharacterLegalNtfs