[shlwapi/tests/shreg.c #4] Use the non-volatile HKEY_USERS\\.DEFAULT

Paul Vriens Paul.Vriens at xs4all.nl
Tue Jan 25 12:14:32 CST 2005


Hi,

the first results of the new test-output show that we cannot use
HKEY_CURRENT_USER for our testing as this is a volatile registry key.
The attached patch changes the tests to use HKEY_USERS\\.DEFAULT.

I've used the .DEFAULT in uppercase on purpose. This will not matter
much but reflects the registry settings on 98/w2k/xp.

There is also some more verbose output. 

And last bot not least, we delete the whole key chain we've created
(HKEY_CURRENT_USER\\Software\\Wine was still left there)

Changelog
 Use the non-volatile registry key HKEY_USERS\\.DEFAULT
 Some more verbose output
 Remove every entry we create

Cheers,

Paul Vriens.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests_shreg_4.diff
Type: text/x-patch
Size: 6683 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050125/2129a6bd/tests_shreg_4.bin


More information about the wine-patches mailing list