RtlIsValidOemCharacter - NtDoc

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

NTSYSAPI BOOLEAN RtlIsValidOemCharacter(
  [in, out] PWCHAR Char
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

RtlIsValidOemCharacter function

Description

The RtlIsValidOemCharacter routine determines if the specified Unicode character can be mapped to a valid OEM character.

Parameters

Char [in, out]

Pointer to the character. If the character can be mapped to a valid OEM character, this parameter receives the Unicode translation of the valid OEM character.

Return value

RtlIsValidOemCharacter returns TRUE if the character can be mapped to a valid OEM character, FALSE otherwise.

Remarks

RtlIsValidOemCharacter translates the Unicode character at Char using the OEM code page that was installed as the current system code page at system boot time, and converts the translated character to uppercase. RtlIsValidOemCharacter checks that the resulting character is a valid OEM character.

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

See also

RtlOemStringToCountedUnicodeString

RtlOemStringToUnicodeString

RtlUnicodeToOemN