Action 106 for SystemParametersInfo
James Juran
jamesjuran at alumni.psu.edu
Fri Mar 30 23:29:08 CST 2001
Calling SystemParametersInfo with an action of 106 should return 400
in pvParam. Verified in Windows NT 4.0 and Windows 2000. I have
no idea what this actually does, but Visual Studio calls it.
ChangeLog:
James Juran <jamesjuran at alumni.psu.edu>
Add undocumented value 106 to SystemParametersInfo
Index: windows/sysparams.c
===================================================================
RCS file: /home/wine/wine/windows/sysparams.c,v
retrieving revision 1.17
diff -u -r1.17 sysparams.c
--- windows/sysparams.c 2001/02/23 01:32:22 1.17
+++ windows/sysparams.c 2001/03/31 05:15:32
@@ -505,7 +505,13 @@
case SPI_GETWHEELSCROLLLINES: /* 104 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
*(UINT *)pvParam = 3; /* default for num scroll lines */
break;
+
WINE_SPI_FIXME(SPI_SETWHEELSCROLLLINES); /* 105 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
+
+ case 106: /* 106 I have no idea what this is! */
+ FIXME("Unknown action 106, returning 400\n");
+ *(UINT *)pvParam = 400; /* Not sure what this is, but tested against Windows NT 4.0 and Windows 2000 */
+ break;
WINE_SPI_FIXME(SPI_GETSHOWIMEUI); /* 110 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME(SPI_SETSHOWIMEUI); /* 111 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
More information about the wine-patches
mailing list