| | |
Read windows registry in c??
![]() |
•
•
Join Date: Apr 2008
Posts: 290
Reputation:
Solved Threads: 11
I want to read the registry of usb
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
in this
Name Type Data
start REG_DWORD 0x00000003(3)
when double click it gives value in Hex 3
How to read this value 3 or data 0x00000003(3)
How to create this code in c language??? How to do it guys
If any sample code to read registry plz give me??
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
in this
Name Type Data
start REG_DWORD 0x00000003(3)
when double click it gives value in Hex 3
How to read this value 3 or data 0x00000003(3)
How to create this code in c language??? How to do it guys
If any sample code to read registry plz give me??
It's a bit like how to read a file, but you're going to read the windows registry. First you have to call RegOpenKey() to get a handle to the registry key entry, and then RegQueryValueEx() to acaully read the key entry, finally RegCloseKey(). You can find all those functions, and others too, from here
If you want examples, then just use google and you will find lots of them.
If you want examples, then just use google and you will find lots of them.
Last edited by Ancient Dragon; Apr 23rd, 2008 at 9:36 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- Lost Windows XP user password (Windows NT / 2000 / XP)
- Editing Windows Registry (C++)
- How do you read a .ini file? (Visual Basic 4 / 5 / 6)
- Error trapping while reading windows XP registry entries (Python)
- Cant read IO.SYS (Windows NT / 2000 / XP)
- windows 2000 IE 6. need help to remove spyware (Viruses, Spyware and other Nasties)
- Browser popup windows (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: Byte to KILOBYTE conversion in c++
- Next Thread: Combobox connecting problem!
| Thread Tools | Search this Thread |
api array based binary bitmap build c++ c/c++ char class classes client code coding compile console conversion count counttheoccurenceofanintegerinthe10inputs delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption environment error file forms fstream function functions game givemetehcodez graph gui homeworkassignment homeworkhelp homeworkhelper i/o iamthwee ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple multipledimensionarray news node number numbers numbertoword output parameter pointer problem program programming project python radix random read recursion reference rpg string strings temperature template test text text-file tree url variable vector video win32 windows winsock word wordfrequency wxwidgets






