mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
- Add support for SPI_GETCARETWIDTH/SPI_SETCARETWIDTH
svn path=/trunk/; revision=41114
This commit is contained in:
@@ -192,6 +192,7 @@ IntSystemParametersInfo(
|
||||
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)
|
||||
@@ -857,6 +858,19 @@ IntSystemParametersInfo(
|
||||
break;
|
||||
}
|
||||
|
||||
case SPI_GETCARETWIDTH:
|
||||
{
|
||||
*((DWORD*)pvParam) = CaretWidth;
|
||||
break;
|
||||
}
|
||||
|
||||
case SPI_SETCARETWIDTH:
|
||||
{
|
||||
CaretWidth = *((DWORD*)pvParam);
|
||||
bChanged = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
DPRINT1("FIXME: Unsupported SPI Action 0x%x (uiParam: 0x%x, pvParam: 0x%x, fWinIni: 0x%x)\n",
|
||||
|
||||
Reference in New Issue
Block a user