-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
the definition of RtlpGetUserOrMachineUILanguage4NLS seems to still be missing.
The definition of RtlpGetUserOrMachineUILanguage4NLS (in Pascal) is:
function RtlpGetUserOrMachineUILanguage4NLS
(
{ _in_ } InUserPreferred : boolean; { true = user, false = machine }
{ _out_ } OutBuffer : pointer;
{ _inout_ } InoutBufferSize : PDWORD
)
: NTSTATUS; stdcall; external ntdll;
Parameter description:
{ true -> returns the value under HKEY_CURRENT_USER\Control Panel\Desktop\PreferredUILanguages }
{ false -> returns the value under HKEY_CURRENT_USER\Control Panel\Desktop\MuiCached\MachinePreferredUILanguages }
{ returns C0000034 if the registry key is not found }
{ the size returned includes the null terminator(s) }
{ NOTE: multiple widechar strings may be returned in the buffer }
{ IMPORTANT: the first parameter is a true boolean, the code compares it }
{ against the numeral 1 (not simply for not zero) }
HTH.