RtlpIsUtf8Process
char __fastcall RtlpIsUtf8Process(char a1){
int v1;
_PEB *Peb;
if( a1 )
v1 = (unsigned __int8)NlsOemCodePageIsUTF8;
else
v1 = (unsigned __int8)NlsActiveCodePageIsUTF8;
if( v1 )
return 1;
Peb = KeGetCurrentThread()->ApcState.Process->Peb;
if( !Peb )
return 0;
if( a1 )
return !Peb->OemCodePageData;
else
return !Peb->AnsiCodePageData;
}Referenced by:
RtlAnsiCharToUnicodeChar
RtlIsValidOemCharacter
RtlMultiByteToUnicodeN
RtlMultiByteToUnicodeSize
RtlOemToUnicodeN
RtlUnicodeToMultiByteN
RtlUnicodeToMultiByteSize
RtlUnicodeToOemN
RtlUpcaseUnicodeToMultiByteN
RtlUpcaseUnicodeToOemN
RtlUpperChar
RtlUpperString
RtlpDidUnicodeToOemWork