advapi32: make sure delete_key recursively deletes keys

James Hawkins truiken at gmail.com
Tue Apr 12 14:07:25 CDT 2005


Hi,

On at least XP/2000 RegDeleteKey can no longer accept a NULL lpSubKey
parameter to indicate that the key represented by hKey should be
deleted.  An empty string should be used instead.  This will make
delete_key work on all windows instead of just 9x.

Changelog
* pass an empty string instead of NULL to RegDeleteKey to delete hKey

-- 
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deletefix.diff
Type: application/octet-stream
Size: 469 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050412/c3c4f92c/deletefix.obj


More information about the wine-patches mailing list