WindowsRegistry

Inheritance:

Methods of WindowsRegistry:

getIntValue
static int WindowsRegistry::get_int_value(string const &key, string const &name, int default_value);

Description: Returns the value associated with the indicated registry key, assuming it is an integer value. If the key is not defined or is not an integer type value, default_value is returned instead.

getKeyType
static WindowsRegistry::Type WindowsRegistry::get_key_type(string const &key, string const &name);

Description: Returns the type of the indicated key, or T_none if the key is not known or is some unsupported type.

getStringValue
static string WindowsRegistry::get_string_value(string const &key, string const &name, string const &default_value);

Description: Returns the value associated with the indicated registry key, assuming it is a string value. The string value is automatically encoded using TextEncoder::get_default_encoding(). If the key is not defined or is not a string type value, default_value is returned instead.

setIntValue
static bool WindowsRegistry::set_int_value(string const &key, string const &name, int value);

Description: Sets the registry key to the indicated value as an integer. The registry key must already exist prior to calling this function.

setStringValue
static bool WindowsRegistry::set_string_value(string const &key, string const &name, string const &value);

Description: Sets the registry key to the indicated value as a string. The supplied string value is automatically converted from whatever encoding is set by TextEncoder::set_default_encoding() and written as a Unicode string. The registry key must already exist prior to calling this function.