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: