Function

GioWin32registry_settings_backend_new

since: 2.78

Declaration [src]

GSettingsBackend*
g_registry_settings_backend_new (
  const gchar* registry_key
)

Description [src]

If registry_key is NULL then the default path HKEY_CURRENT_USER\Software\GSettings is used.

Available since: 2.78

Parameters

registry_key

Type: const gchar*

The path to the registry key where settings are stored, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GSettingsBackend

A registry-backed GSettingsBackend.

The caller of the function takes ownership of the data, and is responsible for freeing it.