NtSetDefaultLocale - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

NTSYSCALLAPI
NTSTATUS
NTAPI
NtSetDefaultLocale(
    _In_ BOOLEAN UserProfile,
    _In_ LCID DefaultLocaleId
    );

#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwSetDefaultLocale(
    _In_ BOOLEAN UserProfile,
    _In_ LCID DefaultLocaleId
    );

#endif

View code on GitHub

Function NtSetDefaultLocale sets default Kernel or User Mode locale. See Microsoft SDK for detailed description about locale codes.

UserProfile

If set, function sets UserMode locale. If not, KernelMode locale is modified.

DefaultLocaleId

Locale to set.

Documented by

See also