Expand Minimize

RtlIsValidOemCharacter routine

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

Syntax


BOOLEAN RtlIsValidOemCharacter(
  _Inout_  PWCHAR Char
);

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 Strings.

Requirements

Version

This routine is available on Microsoft Windows 2000 and later.

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

See also

RtlOemStringToCountedUnicodeString
RtlOemStringToUnicodeString
RtlUnicodeToOemN

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft