0

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.

asked Feb 28, 2011 at 10:06

3 Answers 3

2

I think RegEnumValue is the API you are looking for.

answered Feb 28, 2011 at 10:13
Sign up to request clarification or add additional context in comments.

1 Comment

Correct - just set lpType and lpData to NULL if you need only the name, not the value. The function name is a bit misleading in that respect; it might get the value but it will always get the name.
0

See the SHEnumKeyEx function for simplicity

answered Feb 28, 2011 at 10:10

Comments

0

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

answered May 21, 2013 at 5:33

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.