|
tetengo 1.8.2
A multipurpose library set
|
A Windows registry writer. More...
#include <windows_X.hpp>
Inheritance diagram for tetengo::platform_dependent::windows_registry_writer:
Collaboration diagram for tetengo::platform_dependent::windows_registry_writer:Public Member Functions | |
| windows_registry_writer (const std::filesystem::path &subkey) | |
| Creates a Windows registry writer. | |
| ~windows_registry_writer () | |
| Destroys the Windows registry writer. | |
| void | set_dword_value_of (const std::string_view &name, std::uint32_t value) const |
| Sets a DWORD value. | |
| void | set_string_value_of (const std::string_view &name, const std::string_view &value) const |
| Sets a string value. | |
A Windows registry writer.
This class is only available on Windows.
The read and write target is fixed to \HKEY_CURRENT_USER\SOFTWARE.
|
explicit |
Creates a Windows registry writer.
| subkey | A subkey. |
| void tetengo::platform_dependent::windows_registry_writer::set_dword_value_of | ( | const std::string_view & | name, |
| std::uint32_t | value ) const |
Sets a DWORD value.
| name | A name. |
| value | A value. |
| void tetengo::platform_dependent::windows_registry_writer::set_string_value_of | ( | const std::string_view & | name, |
| const std::string_view & | value ) const |
Sets a string value.
| name | A name. |
| value | A value. |