23 May
2007
23 May
'07
1:39 p.m.
Stefan Leichter <Stefan.Leichter(a)camline.com> writes:
+ /* Recursively delete all the subkeys */ + for (i = 0; i < dwKeyCount; i++) { + dwSize = dwMaxLen; + ret = RegEnumKeyExW(hSubKey, 0, lpszName, &dwSize, NULL, + NULL, NULL, NULL);
There's no reason to use the key count, you should enum until you get an error, it's more reliable.
+ for (i = 0; i < dwValCount; i++) { + dwSize = dwMaxLen; + ret = RegEnumValueW(hKey, 0, lpszName, &dwSize, NULL, NULL, NULL, NULL);
Same here. -- Alexandre Julliard julliard(a)winehq.org
6868
Age (days ago)
6868
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard