Wraps Windows API functions, providing an object-oriented interface that you use to access the registry.
Closes the open registry key.
Opens the specified key or creates it if it does not exist.
Deletes the specified key and all its children.
Deletes the specified value of the open key.
Opens the specified key.
Retrieves the data for a specified key value.
Writes a value to the registry under the open key.
The member functions CreateKey and Open are very similar. If the registry key already exists, CreateKey and Open function in the same way. However, if the registry key does not exist, CreateKey will create it whereas Open will return an error value.
The following example demonstrates how to use the Open and Read methods of the CSettingsStore class. This code snippet is part of the Tool Tip Demo sample.