#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// Locale
NTSYSCALLAPI
NTSTATUS
NTAPI
NtQueryDefaultLocale(
_In_ BOOLEAN UserProfile,
_Out_ PLCID DefaultLocaleId
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwQueryDefaultLocale(
_In_ BOOLEAN UserProfile,
_Out_ PLCID DefaultLocaleId
);
View code on GitHub
Function NtQueryDefaultLocale
returns current Locale Identifier. Locale Identifier if defined as DWORD
value, and contains locale code, sublocale etc. For more information about LCID
see Microsoft SDK.
If set, function returns UserMode default locale. If not, result is system locale.
Pointer to LCID
value receiving current locale.