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