mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTDLL]: Stubplement and export LdrFlushAlternateResourceModules needed for Windows 2k3 user32.dll and winsrv.dll .
[RTL]: Stubplement and export RtlConsoleMultiByteToUnicodeN (and fallback to RtlMultiByteToUnicodeN) needed for WIndows 2k3 winsrv.dll CORE-7481 #comment LdrFlushAlternateResourceModules and RtlConsoleMultiByteToUnicodeN stubplemented in revision 60532. svn path=/trunk/; revision=60532
This commit is contained in:
parent
490190e205
commit
498ca6d41a
3 changed files with 50 additions and 13 deletions
|
@ -56,7 +56,7 @@
|
|||
@ stdcall LdrFindResourceDirectory_U(long ptr long ptr)
|
||||
;@ stdcall LdrFindResourceEx_U ; 5.1 and higher
|
||||
@ stdcall LdrFindResource_U(long ptr long ptr)
|
||||
;@ stdcall LdrFlushAlternateResourceModules
|
||||
@ stdcall LdrFlushAlternateResourceModules()
|
||||
@ stdcall LdrGetDllHandle(wstr long ptr ptr)
|
||||
@ stdcall LdrGetDllHandleEx(long wstr long ptr ptr)
|
||||
@ stdcall LdrGetProcedureAddress(ptr ptr long ptr)
|
||||
|
@ -451,7 +451,7 @@
|
|||
@ stdcall RtlComputeCrc32(long ptr long)
|
||||
@ stdcall RtlComputeImportTableHash(ptr ptr long)
|
||||
@ stdcall RtlComputePrivatizedDllName_U(ptr ptr ptr)
|
||||
;@ stdcall RtlConsoleMultiByteToUnicodeN
|
||||
@ stdcall RtlConsoleMultiByteToUnicodeN(ptr long ptr ptr long ptr)
|
||||
@ stdcall RtlConvertExclusiveToShared(ptr)
|
||||
@ stdcall -arch=win32 -ret64 RtlConvertLongToLargeInteger(long)
|
||||
;@ stdcall RtlConvertPropertyToVariant
|
||||
|
|
|
@ -1582,6 +1582,24 @@ LdrProcessRelocationBlock(IN ULONG_PTR Address,
|
|||
return LdrProcessRelocationBlockLongLong(Address, Count, TypeOffset, Delta);
|
||||
}
|
||||
|
||||
/* FIXME: Add to ntstatus.mc */
|
||||
#define STATUS_MUI_FILE_NOT_FOUND ((NTSTATUS)0xC00B0001L)
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
LdrLoadAlternateResourceModule(IN PVOID Module,
|
||||
IN PWSTR Buffer)
|
||||
{
|
||||
/* Is MUI Support enabled? */
|
||||
if (!LdrAlternateResourcesEnabled()) return STATUS_SUCCESS;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_MUI_FILE_NOT_FOUND;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -1607,22 +1625,15 @@ LdrUnloadAlternateResourceModule(IN PVOID BaseAddress)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/* FIXME: Add to ntstatus.mc */
|
||||
#define STATUS_MUI_FILE_NOT_FOUND ((NTSTATUS)0xC00B0001L)
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
LdrLoadAlternateResourceModule(IN PVOID Module,
|
||||
IN PWSTR Buffer)
|
||||
LdrFlushAlternateResourceModules(VOID)
|
||||
{
|
||||
/* Is MUI Support enabled? */
|
||||
if (!LdrAlternateResourcesEnabled()) return STATUS_SUCCESS;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_MUI_FILE_NOT_FOUND;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -288,6 +288,32 @@ RtlMultiByteToUnicodeN(
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlConsoleMultiByteToUnicodeN(
|
||||
OUT PWCHAR UnicodeString,
|
||||
IN ULONG UnicodeSize,
|
||||
OUT PULONG ResultSize,
|
||||
IN PCSTR MbString,
|
||||
IN ULONG MbSize,
|
||||
OUT PULONG Unknown)
|
||||
{
|
||||
PAGED_CODE_RTL();
|
||||
|
||||
UNIMPLEMENTED;
|
||||
DPRINT1("RtlConsoleMultiByteToUnicodeN calling RtlMultiByteToUnicodeN\n");
|
||||
*Unknown = 1;
|
||||
return RtlMultiByteToUnicodeN(UnicodeString,
|
||||
UnicodeSize,
|
||||
ResultSize,
|
||||
MbString,
|
||||
MbSize);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
|
Loading…
Reference in a new issue