Author: jimtabor
Date: Thu Jul 5 19:14:21 2012
New Revision: 56834
URL:
http://svn.reactos.org/svn/reactos?rev=56834&view=rev
Log:
[Win32k]
- Add keyboard cue and combo list box signing.
Modified:
trunk/reactos/win32ss/user/ntuser/sysparams.c
trunk/reactos/win32ss/user/ntuser/sysparams.h
Modified: trunk/reactos/win32ss/user/ntuser/sysparams.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/syspar…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/sysparams.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/sysparams.c [iso-8859-1] Thu Jul 5 19:14:21 2012
@@ -301,6 +301,14 @@
/* Update SystemMetrics */
InitMetrics();
+
+ if (gbSpiInitialized && gpsi)
+ {
+ if (gspv.bKbdPref) gpsi->dwSRVIFlags |= SRVINFO_KBDPREF;
+ if (SPITESTPREF(UPM_KEYBOARDCUES)) gpsi->PUSIFlags |= PUSIF_KEYBOARDCUES;
+ if (SPITESTPREF(UPM_COMBOBOXANIMATION)) gpsi->PUSIFlags |=
PUSIF_COMBOBOXANIMATION;
+ if (SPITESTPREF(UPM_LISTBOXSMOOTHSCROLLING)) gpsi->PUSIFlags |=
PUSIF_LISTBOXSMOOTHSCROLLING;
+ }
}
BOOL
Modified: trunk/reactos/win32ss/user/ntuser/sysparams.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/syspar…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/sysparams.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/sysparams.h [iso-8859-1] Thu Jul 5 19:14:21 2012
@@ -190,4 +190,4 @@
extern BOOL g_PaintDesktopVersion;
BOOL InitSysParams();
-
+#define SPITESTPREF(x) (gspv.dwUserPrefMask & x ? 1 : 0)