The RegistryCRUD.cpp program demonstrates how to perform basic operations on the Windows Registry using the native API.
The program performs the following CRUD (Create, Read, Update, Delete) operations on a registry key:
1. Open Key: It opens a registry key for the current user's application settings.
2. Create Value: It creates a new registry value with the name "MySetting" and sets its data to "MyValue".
3. Read Value: It reads the value of "MySetting" from the registry and prints it.
4. Modify Value: It modifies the value of "MySetting" to "MyNewValue".
5. Delete Value: It deletes the value of "MySetting" from the registry.
.gitignore | ||
LICENSE | ||
README.md | ||
RegistryCRUD.cpp |
RegistryManipulationInCpp
The RegistryCRUD.cpp program demonstrates how to perform basic operations on the Windows Registry using the native API. The program performs the following CRUD (Create, Read, Update, Delete) operations on a registry key:
- Open Key: It opens a registry key for the current user's application settings.
- Create Value: It creates a new registry value with the name "MySetting" and sets its data to "MyValue".
- Read Value: It reads the value of "MySetting" from the registry and prints it.
- Modify Value: It modifies the value of "MySetting" to "MyNewValue".
- Delete Value: It deletes the value of "MySetting" from the registry.