ReadRegistryKey (open)

Get a registry key. Module registry keys can be read using the key "modulename.registrykey...".

Syntax

LOADLIB "mod::system/lib/configure.whlib";

VARIANT FUNCTION ReadRegistryKey(STRING confkey, RECORD options)

Parameters

STRING confkey

Key name

RECORD options

Options

fallback

Fallback value (returned when key does not exist, and used for type validation)

Return value

VARIANT

Value of registry key. Throws if the key does not exist and no fallback has been provided.