Paul Vriens wrote:
On Tue, 2005-01-25 at 05:29, jchevrier@nexicom.net wrote:
Hi,
SPI_{GET,SET}ICONTITLEWRAP is not implemented on a standard Win98 SE.
Changelog Check for availability of SPI_GETICONTITLEWRAP
Cheers,
Paul.
Hi Paul,
I agree we definately should not be leaving keys/values in user's registries that weren't there originally after the test has been run. Ideally all should be returned to exactly the way it was before the test was run. Unfortunately this patch won't correct the issue. This patch implies that SPI_{GET,SET}ICONTITLEWRAP is not a supported call on Win98 which it is. As a result it will always pass and the registry will still get a new value added. Try the following patch. It was just put together quickly and only covers this one test, but testing here shows it does stop a new value from being added if it did not exist to begin with. I would like to create something that covers the entire sysparams suite of tests to stop this across the board.
Thanks for the heads up on this!
Justin
Hi Justin,
it appears we should do both then? If I put in an extra trace:
trace("testing SPI_{GET,SET}ICONTITLEWRAP\n"); rc=SystemParametersInfoA( SPI_GETICONTITLEWRAP, 0, &old_b, 0 ); trace("rc=%d err=%ld\n",rc,GetLastError());
the result on my Win98 box is:
sysparams.c:693:testing SPI_{GET,SET}ICONTITLEWRAP sysparams.c:695:rc=1 err=120
doesn't this mean ERROR_CALL_NOT_IMPLEMENTED?
I installed Win98SE from the CD and just ran Windows Update.
Cheers,
Paul.
It appears that for whatever reason that call isn't implemented there. I did a clean install of Windows 98SE here from CD to make sure my install wasn't tainted and the test passes fine (save for the non existant Registry value). I have not done any updates through Windows update however and it is as it was installed from the CD. Maybe this call was removed by some of the updates? I find that odd tho. I'm just taking wide guesses now but is it an English (North American) version of Windows? Colour depth?
I'll do the updates through Windows Updates next and see if that changes anything. Did you just do critical updates?
Justin