/* * @implemented */ NTSTATUS NTAPI NtSetDefaultUILanguage(IN LANGID LanguageId) { NTSTATUS Status; PAGED_CODE(); /* Check if the caller specified a language id */ if (LanguageId) { /* Set the pending MUI language id */ Status = ExpSetCurrentUserUILanguage(L"MUILanguagePending", LanguageId); } else { /* Otherwise get the pending MUI language id */ Status = ExpGetCurrentUserUILanguage(L"MUILanguagePending", &LanguageId); if (!NT_SUCCESS(Status)) { return Status; } /* And apply it as actual */ Status = ExpSetCurrentUserUILanguage(L"MultiUILanguageId", LanguageId); } return Status; }
/* * @implemented */ NTSTATUS NTAPI NtSetDefaultUILanguage(IN LANGID LanguageId) { PAGED_CODE(); /* Check if we don't have a default yet */ if (!LanguageId) { /* FIXME */ DPRINT1("TODO\n"); ASSERT(FALSE); } /* Otherwise, call the internal routine */ return ExpSetCurrentUserUILanguage(L"MUILanguagePending", LanguageId); }