RtlpMuiRegGetLanguageSpec
__int64 __fastcall RtlpMuiRegGetLanguageSpec(__int64 a1, const WCHAR *a2, char *a3, __int64 a4, __int16 *a5){
__int16 v6;
char v9;
__int64 result;
_UNICODE_STRING String;
UINT64 Lcid;
__int16 v13;
LODWORD(Lcid) = 0;
v6 = 0;
v13 = 0;
v9 = 0;
String = 0i64;
RtlInitUnicodeString(&String, a2, (WCHAR)a3);
if( RtlCultureNameToLCID(&String, &Lcid) )
{
v6 = Lcid;
if( (((_DWORD)Lcid - 4096) & 0xFFFFFBFF) != 0 )
{
v9 = 1;
}
else
{
result = RtlpMuiRegGetOrAddString(a1, a2, 1, &v13);
if( (int)result < 0 )
{
v6 = 0;
goto LABEL_9;
}
v6 = v13;
v9 = 3;
}
result = 0i64;
}
else
{
result = 3221225485i64;
}
LABEL_9:
if( a3 )
*a3 = v9;
if( a5 )
*a5 = v6;
return result;
}Referenced by:
RtlpMuiRegAddBaseLanguage
RtlpPopulateLanguageConfigList