I want to Read from Registry the Name.how i can do this using VC++ ?
Ex : I have one folder called ABC in Registry under that i have 3 enteries Name , Type, Data.
Now i want to read all Name one by one
Name Type Data
V:\ REG_SZ \\124.158.14.74\CIFS
J:\ REG_SZ \\124.158.14.74\CIFS
In my case 开发者_如何学运维Name is nothing but drive name's i want to read it one by one. Any help is appreciated.
I think RegEnumValue is the API you are looking for.
See the SHEnumKeyEx function for simplicity
See the following link, in enumerating registry in windows. Hope this helps.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724256%28v=vs.85%29.aspx
精彩评论