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.
Go to file
2024-12-13 10:36:54 +03:00
.gitignore Initial commit 2024-12-13 07:34:30 +00:00
LICENSE Initial commit 2024-12-13 07:34:30 +00:00
README.md Initial commit 2024-12-13 07:34:30 +00:00
RegistryCRUD.cpp initial commit 2024-12-13 10:36:54 +03:00

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:

  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.