Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::platform::win Namespace Reference

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.

Function Documentation

◆ registry_delete_value()

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.

◆ registry_read_dword()

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.

◆ registry_read_string()

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.

◆ registry_write_dword()

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.

◆ registry_write_string()

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.