Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cd37125f
Commit
cd37125f
authored
Mar 29, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Implement SPI_[SG]ETCARETWIDTH.
parent
31332b3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
sysparams.c
dlls/user/sysparams.c
+18
-2
No files found.
dlls/user/sysparams.c
View file @
cd37125f
...
@@ -77,6 +77,7 @@ enum spi_index
...
@@ -77,6 +77,7 @@ enum spi_index
SPI_USERPREFERENCEMASK_IDX
,
SPI_USERPREFERENCEMASK_IDX
,
SPI_NONCLIENTMETRICS_IDX
,
SPI_NONCLIENTMETRICS_IDX
,
SPI_MINIMIZEDMETRICS_IDX
,
SPI_MINIMIZEDMETRICS_IDX
,
SPI_CARETWIDTH_IDX
,
SPI_INDEX_COUNT
SPI_INDEX_COUNT
};
};
...
@@ -207,6 +208,8 @@ static const WCHAR SPI_SETMOUSESCROLLLINES_REGKEY[]= {'C','o','n','t','
...
@@ -207,6 +208,8 @@ static const WCHAR SPI_SETMOUSESCROLLLINES_REGKEY[]= {'C','o','n','t','
static
const
WCHAR
SPI_SETMOUSESCROLLLINES_VALNAME
[]
=
{
'W'
,
'h'
,
'e'
,
'e'
,
'l'
,
'S'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
'L'
,
'i'
,
'n'
,
'e'
,
's'
,
0
};
static
const
WCHAR
SPI_SETMOUSESCROLLLINES_VALNAME
[]
=
{
'W'
,
'h'
,
'e'
,
'e'
,
'l'
,
'S'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
'L'
,
'i'
,
'n'
,
'e'
,
's'
,
0
};
static
const
WCHAR
SPI_SETMENUSHOWDELAY_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_SETMENUSHOWDELAY_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_SETMENUSHOWDELAY_VALNAME
[]
=
{
'M'
,
'e'
,
'n'
,
'u'
,
'S'
,
'h'
,
'o'
,
'w'
,
'D'
,
'e'
,
'l'
,
'a'
,
'y'
,
0
};
static
const
WCHAR
SPI_SETMENUSHOWDELAY_VALNAME
[]
=
{
'M'
,
'e'
,
'n'
,
'u'
,
'S'
,
'h'
,
'o'
,
'w'
,
'D'
,
'e'
,
'l'
,
'a'
,
'y'
,
0
};
static
const
WCHAR
SPI_CARETWIDTH_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_CARETWIDTH_VALNAME
[]
=
{
'C'
,
'a'
,
'r'
,
'e'
,
't'
,
'W'
,
'i'
,
'd'
,
't'
,
'h'
,
0
};
/* FIXME - real values */
/* FIXME - real values */
static
const
WCHAR
SPI_SETSCREENSAVERRUNNING_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_SETSCREENSAVERRUNNING_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
...
@@ -296,6 +299,7 @@ static BOOL poweroffactive = FALSE;
...
@@ -296,6 +299,7 @@ static BOOL poweroffactive = FALSE;
static
BOOL
show_sounds
=
FALSE
;
static
BOOL
show_sounds
=
FALSE
;
static
BOOL
swap_buttons
=
FALSE
;
static
BOOL
swap_buttons
=
FALSE
;
static
BOOL
listbox_smoothscrolling
=
FALSE
;
static
BOOL
listbox_smoothscrolling
=
FALSE
;
static
UINT
caret_width
=
1
;
static
BYTE
user_prefs
[
4
];
static
BYTE
user_prefs
[
4
];
static
MINIMIZEDMETRICS
minimized_metrics
=
static
MINIMIZEDMETRICS
minimized_metrics
=
...
@@ -2196,8 +2200,20 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
...
@@ -2196,8 +2200,20 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
WINE_SPI_FIXME
(
SPI_SETACTIVEWNDTRKTIMEOUT
);
/* 0x2003 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETACTIVEWNDTRKTIMEOUT
);
/* 0x2003 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_GETFOREGROUNDFLASHCOUNT
);
/* 0x2004 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_GETFOREGROUNDFLASHCOUNT
);
/* 0x2004 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETFOREGROUNDFLASHCOUNT
);
/* 0x2005 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETFOREGROUNDFLASHCOUNT
);
/* 0x2005 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_GETCARETWIDTH
);
/* 0x2006 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
case
SPI_GETCARETWIDTH
:
/* 0x2006 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETCARETWIDTH
);
/* 0x2007 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
ret
=
get_uint_param
(
SPI_CARETWIDTH_IDX
,
SPI_CARETWIDTH_REGKEY
,
SPI_CARETWIDTH_VALNAME
,
&
caret_width
,
pvParam
);
break
;
case
SPI_SETCARETWIDTH
:
/* 0x2007 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
ret
=
set_uint_param
(
SPI_CARETWIDTH_IDX
,
SPI_CARETWIDTH_REGKEY
,
SPI_CARETWIDTH_VALNAME
,
&
caret_width
,
uiParam
,
fWinIni
);
break
;
WINE_SPI_FIXME
(
SPI_GETMOUSECLICKLOCKTIME
);
/* 0x2008 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_GETMOUSECLICKLOCKTIME
);
/* 0x2008 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETMOUSECLICKLOCKTIME
);
/* 0x2009 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETMOUSECLICKLOCKTIME
);
/* 0x2009 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_GETFONTSMOOTHINGTYPE
);
/* 0x200A _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_GETFONTSMOOTHINGTYPE
);
/* 0x200A _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment