Author: dchapyshev
Date: Mon May 25 16:46:44 2009
New Revision: 41114
URL:
http://svn.reactos.org/svn/reactos?rev=41114&view=rev
Log:
- Add support for SPI_GETCARETWIDTH/SPI_SETCARETWIDTH
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
16:46:44 2009
@@ -192,6 +192,7 @@
static BOOL KeyboardPref = FALSE;
static BOOL ShowSounds = FALSE;
static ACCESSTIMEOUT AccessTimeout = {sizeof(ACCESSTIMEOUT), 0, 0};
+ static DWORD CaretWidth = 1;
static SERIALKEYS SerialKeys = {sizeof(SERIALKEYS), 0, 0, 0, 0, 0, 0};
if (!bInitialized)
@@ -853,6 +854,19 @@
case SPI_SETACCESSTIMEOUT:
{
AccessTimeout = *((ACCESSTIMEOUT*)pvParam);
+ bChanged = TRUE;
+ break;
+ }
+
+ case SPI_GETCARETWIDTH:
+ {
+ *((DWORD*)pvParam) = CaretWidth;
+ break;
+ }
+
+ case SPI_SETCARETWIDTH:
+ {
+ CaretWidth = *((DWORD*)pvParam);
bChanged = TRUE;
break;
}