mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +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"
|
#include "ntdll_vista.h"
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
|
RtlpInitializeLocaleTable(VOID);
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
DllMain(HANDLE hDll,
|
DllMain(HANDLE hDll,
|
||||||
DWORD dwReason,
|
DWORD dwReason,
|
||||||
LPVOID lpReserved)
|
LPVOID lpReserved)
|
||||||
{
|
{
|
||||||
|
NTSTATUS Status;
|
||||||
|
|
||||||
if (dwReason == DLL_PROCESS_ATTACH)
|
if (dwReason == DLL_PROCESS_ATTACH)
|
||||||
{
|
{
|
||||||
LdrDisableThreadCalloutsForDll(hDll);
|
LdrDisableThreadCalloutsForDll(hDll);
|
||||||
RtlpInitializeKeyedEvent();
|
RtlpInitializeKeyedEvent();
|
||||||
|
Status = RtlpInitializeLocaleTable();
|
||||||
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
RtlpCloseKeyedEvent();
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (dwReason == DLL_PROCESS_DETACH)
|
else if (dwReason == DLL_PROCESS_DETACH)
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,3 +18,5 @@
|
||||||
|
|
||||||
@ stdcall RtlConnectToSm(ptr ptr long ptr) SmConnectToSm
|
@ stdcall RtlConnectToSm(ptr ptr long ptr) SmConnectToSm
|
||||||
@ stdcall RtlSendMsgToSm(ptr ptr) SmSendMsgToSm
|
@ 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
|
list(APPEND SOURCE_VISTA
|
||||||
condvar.c
|
condvar.c
|
||||||
|
locale.c
|
||||||
runonce.c
|
runonce.c
|
||||||
srw.c
|
srw.c
|
||||||
utf8.c)
|
utf8.c)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue