Author: jimtabor
Date: Sun Mar 9 23:02:49 2008
New Revision: 32637
URL:
http://svn.reactos.org/svn/reactos?rev=3D32637&view=3Drev
Log:
- Cleanup GreatLordisms and half implement GdiRealizationInfo.
Modified:
trunk/reactos/dll/win32/gdi32/gdi32.rbuild
trunk/reactos/dll/win32/gdi32/misc/stubs.c
Modified: trunk/reactos/dll/win32/gdi32/gdi32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/gdi32=
.rbuild?rev=3D32637&r1=3D32636&r2=3D32637&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/dll/win32/gdi32/gdi32.rbuild (original)
+++ trunk/reactos/dll/win32/gdi32/gdi32.rbuild Sun Mar 9 23:02:49 2008
@@ -5,6 +5,7 @@
<define name=3D"UNICODE" />
<define name=3D"WINVER">0x0600</define>
<define name=3D"_WIN32_WINNT">0x0501</define>
+ <define name=3D"LANGPACK" />
<library>ntdll</library>
<library>user32</library>
<library>kernel32</library>
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/=
stubs.c?rev=3D32637&r1=3D32636&r2=3D32637&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sun Mar 9 23:02:49 2008
@@ -1473,9 +1473,8 @@
GdiRealizationInfo(HDC hdc,
PREALIZATION_INFO pri)
{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ // ATM we do not support local font data and Language Pack.
+ return NtGdiGetRealizationInfo(hdc, pri, (HFONT) NULL);
}
=
/*
@@ -1520,7 +1519,7 @@
{
case ABORTDOC: =
/* Note Winodws check see if the handle have any user data=
for ABORTDOC command =
- * ReactOS copy this behoir to be compatible with windows =
2003 =
+ * ReactOS copy this behavior to be compatible with window=
s 2003 =
*/
if ( (!GdiGetHandleUserData(hObject, (DWORD)Type, (PVOID) =
&pUserData)) || =
(pUserData =3D=3D NULL) ) =
@@ -1539,7 +1538,7 @@
case SETCOLORTABLE:
/* Note 1: DRAFTMODE, FLUSHOUTPUT, SETCOLORTABLE is outdat=
ed and been replace with other api */
/* Note 2: Winodws check see if the handle have any user d=
ata for DRAFTMODE, FLUSHOUTPUT, SETCOLORTABLE command =
- * ReactOS copy this behoir to be compatible with windows =
2003 =
+ * ReactOS copy this behavior to be compatible with window=
s 2003 =
*/
if ( (!GdiGetHandleUserData(hObject, (DWORD)Type, (PVOID) =
&pUserData)) || =
(pUserData =3D=3D NULL) ) =
@@ -1551,7 +1550,7 @@
=
case SETABORTPROC:
/* Note : Winodws check see if the handle have any user da=
ta for DRAFTMODE, FLUSHOUTPUT, SETCOLORTABLE command =
- * ReactOS copy this behoir to be compatible with windows =
2003 =
+ * ReactOS copy this behavior to be compatible with window=
s 2003 =
*/
if ( (!GdiGetHandleUserData(hObject, (DWORD)Type, (PVOID) =
&pUserData)) || =
(pUserData =3D=3D NULL) ) =
@@ -1572,7 +1571,7 @@
=
case ENDDOC:
/* Note : Winodws check see if the handle have any user da=
ta for DRAFTMODE, FLUSHOUTPUT, SETCOLORTABLE command =
- * ReactOS copy this behoir to be compatible with windows =
2003 =
+ * ReactOS copy this behavior to be compatible with window=
s 2003 =
*/
if ( (!GdiGetHandleUserData(hObject, (DWORD)Type, (PVOID) =
&pUserData)) || =
(pUserData =3D=3D NULL) ) =