unnamed registry keys
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
How do you get the value of an unnamed key value? In regedit it is diaplayed as "(Default)". I've tried RegQueryValueEx(hKey, "(default)", 0, &type, (unsigned char*)buf, &bufsize) but it returns 2. I've also tried to RegEnumKey() and it gets the key name ok, but it just refuses to get the value.
-
How do you get the value of an unnamed key value? In regedit it is diaplayed as "(Default)". I've tried RegQueryValueEx(hKey, "(default)", 0, &type, (unsigned char*)buf, &bufsize) but it returns 2. I've also tried to RegEnumKey() and it gets the key name ok, but it just refuses to get the value.