Functions | |
| std::optional< std::string > | registry_read_string (std::string_view root, std::string_view path, std::string_view name) |
| Read a string value from the registry. | |
| std::optional< uint32_t > | registry_read_dword (std::string_view root, std::string_view path, std::string_view name) |
| Read a DWORD value from the registry. | |
| bool | registry_write_string (std::string_view root, std::string_view path, std::string_view name, std::string_view value) |
| Write a string value to the registry. Returns true on success. | |
| bool | registry_write_dword (std::string_view root, std::string_view path, std::string_view name, uint32_t value) |
| Write a DWORD value to the registry. Returns true on success. | |
| bool | registry_delete_value (std::string_view root, std::string_view path, std::string_view name) |
| Delete a value from the registry. Returns true on success. | |
| bool pulp::platform::win::registry_delete_value | ( | std::string_view | root, |
| std::string_view | path, | ||
| std::string_view | name ) |
Delete a value from the registry. Returns true on success.
| std::optional< uint32_t > pulp::platform::win::registry_read_dword | ( | std::string_view | root, |
| std::string_view | path, | ||
| std::string_view | name ) |
Read a DWORD value from the registry.
| std::optional< std::string > pulp::platform::win::registry_read_string | ( | std::string_view | root, |
| std::string_view | path, | ||
| std::string_view | name ) |
Read a string value from the registry.
root should be "HKCU" or "HKLM". path is the subkey path (e.g., "Software\\Pulp"). name is the value name.
| bool pulp::platform::win::registry_write_dword | ( | std::string_view | root, |
| std::string_view | path, | ||
| std::string_view | name, | ||
| uint32_t | value ) |
Write a DWORD value to the registry. Returns true on success.
| bool pulp::platform::win::registry_write_string | ( | std::string_view | root, |
| std::string_view | path, | ||
| std::string_view | name, | ||
| std::string_view | value ) |
Write a string value to the registry. Returns true on success.