Provides read and write access to a single Windows registry entry identified by hive, path, and variable name.
More...
Provides read and write access to a single Windows registry entry identified by hive, path, and variable name.
Definition at line 29 of file RegistryEntry.h.
◆ RegistryEntry() [1/3]
| RegistryEntry::RegistryEntry |
( |
const StringView & | path_and_variable | ) |
|
Constructs a RegistryEntry by parsing a combined path and variable string.
- Parameters
-
| [in] | path_and_variable | The full registry path including the variable name. |
◆ RegistryEntry() [2/3]
◆ RegistryEntry() [3/3]
Constructs a RegistryEntry from an explicit hive key, path, and variable name.
- Parameters
-
| [in] | h_key | The root hive key (e.g., HKEY_LOCAL_MACHINE). |
| [in] | path | The registry key path beneath the hive. |
| [in] | variable | The name of the registry value. |
References h_key, path, and variable.
◆ AvailableKeys()
Returns the list of available root registry hive key names.
- Returns
- A Buffer of StringViews representing the known hive keys.
◆ getValue()
| String RegistryEntry::getValue |
( |
| ) |
|
Reads the current value of this registry entry as a string.
- Returns
- The registry value as a String.
◆ setValue()
| bool RegistryEntry::setValue |
( |
const StringView & | value | ) |
const |
Writes a string value to this registry entry.
- Parameters
-
| [in] | value | The string value to write. |
- Returns
- True if the value was written successfully, false otherwise.
The documentation for this class was generated from the following file: