Author: fireball
Date: Tue May 20 08:21:21 2008
New Revision: 33609
URL:
http://svn.reactos.org/svn/reactos?rev=33609&view=rev
Log:
Stefan Ginsberg <stefan__100__(a)hotmail.com>
- Fix the commented out export in win32k.def and fix the definition for
EngGetCurrentCodePage.
- Add RtlGetDefaultCodePage to NDK headers.
Modified:
trunk/reactos/include/ndk/rtlfuncs.h
trunk/reactos/subsystems/win32/win32k/eng/engmisc.c
trunk/reactos/subsystems/win32/win32k/win32k.def
Modified: trunk/reactos/include/ndk/rtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] Tue May 20 08:21:21 2008
@@ -2886,6 +2886,14 @@
NTSYSAPI
VOID
NTAPI
+RtlGetDefaultCodePage(
+ OUT PUSHORT AnsiCodePage,
+ OUT PUSHORT OemCodePage
+);
+
+NTSYSAPI
+VOID
+NTAPI
RtlInitNlsTables(
IN PUSHORT AnsiTableBase,
IN PUSHORT OemTableBase,
Modified: trunk/reactos/subsystems/win32/win32k/eng/engmisc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/engmisc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/engmisc.c [iso-8859-1] Tue May 20 08:21:21
2008
@@ -243,4 +243,13 @@
return NULL;
}
+VOID
+APIENTRY
+EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
+ OUT PUSHORT AnsiCodePage)
+{
+ /* Forward to kernel */
+ return RtlGetDefaultCodePage(AnsiCodePage, OemCodePage);
+}
+
/* EOF */
Modified: trunk/reactos/subsystems/win32/win32k/win32k.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/wi…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/win32k.def [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/win32k.def [iso-8859-1] Tue May 20 08:21:21
2008
@@ -67,7 +67,7 @@
EngFreePrivateUserMem@8
EngFreeSectionMem@8
EngFreeUserMem@4
-EngGetCurrentCodePage(a)8=ntoskrnl.RtlGetCurrentCodePage
+EngGetCurrentCodePage@8
EngGetCurrentProcessId@0
EngGetCurrentThreadId@0
EngGetDriverName@4
@@ -104,7 +104,7 @@
EngModifySurface@32
EngMovePointer@16
EngMulDiv@12
-EngMultiByteToUnicodeN(a)20=ntoskrnl.RtlMultiByteToUnicodeN
+EngMultiByteToUnicodeN(a)20=NTOSKRNL.RtlMultiByteToUnicodeN
EngMultiByteToWideChar@20
EngNineGrid@36
EngPaint@20
@@ -133,7 +133,7 @@
EngStrokePath@32
EngTextOut@40
EngTransparentBlt@32
-EngUnicodeToMultiByteN(a)20=ntoskrnl.RtlUnicodeToMultiByteN
+EngUnicodeToMultiByteN(a)20=NTOSKRNL.RtlUnicodeToMultiByteN
EngUnloadImage@4
EngUnlockDirectDrawSurface@4
EngUnlockDriverObj@4
@@ -176,7 +176,7 @@
FONTOBJ_pifi@4
FONTOBJ_pjOpenTypeTablePointer@12
FONTOBJ_pvTrueTypeFontFile@8
-;FONTOBJ_pwszFontFilePaths@4
+FONTOBJ_pwszFontFilePaths@8
FONTOBJ_pxoGetXform@4
FONTOBJ_vGetInfo@12
HT_ComputeRGBGammaTable@24