ObpIsUnsecureName
UINT8 __stdcall ObpIsUnsecureName(UNICODE_STRING *ObjectName, UINT8 CaseInsensitive){
WCHAR v2;
const WCHAR *v4;
struct _UNICODE_STRING DestinationString;
DestinationString = 0i64;
if( !ObpUnsecureGlobalNamesBuffer )
return 0;
v4 = &ObpUnsecureGlobalNamesBuffer;
while( 1 )
{
RtlInitUnicodeString(&DestinationString, v4, v2);
if( DestinationString.Length )
{
if( (unsigned __int8)RtlPrefixUnicodeString(&DestinationString, (INT64 *)ObjectName) )
break;
}
v4 += ((unsigned __int64)DestinationString.Length + 2) >> 1;
if( !DestinationString.Length )
return 0;
}
return 1;
}Referenced by:
ObpLookupObjectName