USER32: Implement SPI_SETICONMETRICS

jchevrier at nexicom.net jchevrier at nexicom.net
Wed Jan 19 21:03:42 CST 2005


Changelog:

*Implement SPI_SETICONMETRICS. Like MINIMIZEDMETRICS these values only apply 
to the current session and are lost on reboot. Confirmed on Win XP and 98.
*Added ANSI to Unicode conversion for SPI_SETICONMETRICS when called from 
SystemParametersInfoA.
*Fixed SPI_GETICONTITLELOGFONT to only return values retrieved from win.ini on 
first call and return a cached version in subsequent calls. This allows us to 
call SPI_SETICONMETRIC and have the value set there returned by calling 
SPI_GETICONTITLELOGFONT instead of always returning the value set in win.ini. 
Confirmed on Win XP and 98. Going to gain speed on this call too.
*Created unit test for SPI_{GET,SET}ICONMETRICS. Passes under: Wine, WinXP and 
Win98.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysparams_iconmetrics.diff
Type: text/x-diff
Size: 9913 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050119/c8dcc280/sysparams_iconmetrics.bin


More information about the wine-patches mailing list