RtlIsNormalizedString
INT64 __stdcall RtlIsNormalizedString(
UINT64 NormForm,
WCHAR *SourceString,
INT64 SourceStringLength,
UINT8 *Normalized){
int v5;
__int64 v7;
INT64 result;
__int64 v9;
v9 = 0i64;
v5 = SourceStringLength;
if( !SourceString )
return 3221225485i64;
if( !Normalized )
return 3221225485i64;
v7 = -1i64;
if( (int)SourceStringLength < -1 || !(_DWORD)NormForm )
return 3221225485i64;
result = RtlpGetNormalization(NormForm, (PVOID *)&v9);
if( (int)result >= 0 )
{
if( v5 == -1 )
{
do
++v7;
while( SourceString[v7] );
v5 = v7 + 1;
}
return Normalization__IsNormalized(v9, SourceString, v5, Normalized);
}
return result;
}Referenced by:
RtlpIdnToUnicodeWorker