RtlpInitNlsSectionName

NTSTATUS __stdcall RtlpInitNlsSectionName(
        UINT64 SectionType,
        UINT64 SectionData,
        WCHAR *SectionName,
        _UNICODE_STRING *pObSectionName,
        _UNICODE_STRING *DestinationString){
  int v6; 
  WCHAR *v7; 
  NTSTATUS result; 
  NTSTATUS v9; 

  v6 = SectionType - 11;
  if( v6 )
  {
    if( v6 != 1 )
      return -1073741585;
    v7 = L"\\NLS\\NlsSectionNORM%.8x";
  }
  else
  {
    v7 = (WCHAR *)L"\\NLS\\NlsSectionCP%d";
  }
  result = RtlStringCchPrintfW(SectionName, 0x40ui64, v7);
  v9 = result;
  if( result < 0 )
    return result;
  RtlInitUnicodeString(DestinationString, SectionName);
  return v9;
}

Referenced by:

NtGetNlsSectionPtr