mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
- Add support for SPI_GETCARETWIDTH/SPI_SETCARETWIDTH
svn path=/trunk/; revision=41114
This commit is contained in:
parent
a2c6368b2a
commit
8ee5277636
1 changed files with 14 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue