mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +00:00
[NTDLL_VISTA] Export RtlLcidToLocaleName and RtlLocaleNameToLcid
This commit is contained in:
parent
942d362ff8
commit
d5286af2e1
3 changed files with 15 additions and 0 deletions
|
@ -1,15 +1,27 @@
|
|||
#include "ntdll_vista.h"
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlpInitializeLocaleTable(VOID);
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
DllMain(HANDLE hDll,
|
||||
DWORD dwReason,
|
||||
LPVOID lpReserved)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
if (dwReason == DLL_PROCESS_ATTACH)
|
||||
{
|
||||
LdrDisableThreadCalloutsForDll(hDll);
|
||||
RtlpInitializeKeyedEvent();
|
||||
Status = RtlpInitializeLocaleTable();
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
RtlpCloseKeyedEvent();
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
else if (dwReason == DLL_PROCESS_DETACH)
|
||||
{
|
||||
|
|
|
@ -18,3 +18,5 @@
|
|||
|
||||
@ stdcall RtlConnectToSm(ptr ptr long ptr) SmConnectToSm
|
||||
@ stdcall RtlSendMsgToSm(ptr ptr) SmSendMsgToSm
|
||||
@ stdcall RtlLcidToLocaleName(long ptr long long)
|
||||
@ stdcall RtlLocaleNameToLcid(wstr ptr long)
|
||||
|
|
|
@ -132,6 +132,7 @@ add_dependencies(rtl psdk asm)
|
|||
|
||||
list(APPEND SOURCE_VISTA
|
||||
condvar.c
|
||||
locale.c
|
||||
runonce.c
|
||||
srw.c
|
||||
utf8.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue