RtlIsNameInExpression

UINT8 __stdcall RtlIsNameInExpression(
        _UNICODE_STRING *Expression,
        _UNICODE_STRING *Name,
        UINT8 IgnoreCase,
        WCHAR *UpcaseTable){
  int v5; 
  UINT8 IsNameInExpressionPrivate; 
  _UNICODE_STRING DestinationString; 

  DestinationString = 0i64;
  if( IgnoreCase && !UpcaseTable )
  {
    v5 = RtlpUpcaseUnicodeStringPrivate(&DestinationString, Name, IgnoreCase);
    if( v5 < 0 )
      RtlRaiseStatus(v5);
    Name = &DestinationString;
    IgnoreCase = 0;
  }
  IsNameInExpressionPrivate = RtlpIsNameInExpressionPrivate(Expression, Name, IgnoreCase, 0i64);
  if( DestinationString.Buffer )
    RtlFreeAnsiString(&DestinationString);
  return IsNameInExpressionPrivate;
}

Referenced by:

AuthzBasepCompareFQBNOperands
AuthzBasepCompareUnicodeStringOperands