Ok before you go on in this area, I am currently working on a complete
rewrite of sysparams stuff. It should hopefully be ready this week and
should fix almost all winetests and additional tests in this area.
Regards,
Timo
dchapyshev(a)svn.reactos.org schrieb:
Author: dchapyshev
Date: Mon May 25 17:08:57 2009
New Revision: 41115
URL:
http://svn.reactos.org/svn/reactos?rev=41115&view=rev
Log:
- Stubimplement SPI_GETFONTSMOOTHINGTYPE/SPI_SETFONTSMOOTHINGTYPE
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c [iso-8859-1] Mon May 25
17:08:57 2009
@@ -699,6 +699,22 @@
{
ASSERT(pvParam);
*((BOOL*)pvParam) = IntIsFontRenderingEnabled();
+ break;
+ }
+ case SPI_SETFONTSMOOTHINGTYPE:
+ {
+ if (*((UINT*)pvParam) == FE_FONTSMOOTHINGCLEARTYPE)
+ {
+ DPRINT1("ReactOS does not support ClearType smoothing but it is
returned TRUE\n");
+ }
+ bChanged = TRUE;
+ break;
+ }
+ case SPI_GETFONTSMOOTHINGTYPE:
+ {
+ /* We do not support ClearType. Only standard smoothing */
+ DPRINT1("ReactOS does not support ClearType smoothing. Returned
FE_FONTSMOOTHINGSTANDARD\n");
+ *((UINT*)pvParam) = FE_FONTSMOOTHINGSTANDARD;
break;
}
case SPI_GETICONTITLELOGFONT: