- Corrected SPI_GETLOWPOWERACTIVE to use an index (instead of its SPI
value) to avoid an out of bounds condition.
- Created unit tests for SPI_{GET,SET}POWEROFFACTIVE and
SPI_{GET,SET)SETLOWPOWERACTIVE.
- Fixed SPI_GETICONTITLELOGFONT to only return values retrieved from
win.ini on first call and return a cached version in subsequent
calls.
- Created unit test for SPI_{GET,SET}ICONMETRICS.
by GetSystemMetrics.
- Implemented SPI_SETMINIMIZEDMETRICS. Determined that the values set
here are valid for the current session only and will not persist
across reboots.
registry. Testing on Win98/WinXP showed that regardless of the
"BorderWidth" value CM_C{X,Y}BORDER always returns 1.
- Point SPI_SETBORDER to "BorderWidth" under "HKCU\Control
Panel\Desktop\WindowMetrics" instead of "HKCU\Control Panel\Desktop"
to make it match Windows.
- Obtain icon size from registry if available.
- Create a WindowMetrics section in the default registry and populate
it with all currently supported metrics (that are setup to read from
the registry).