SYS_ExistsRegistryKey Function


Checks if a key exists in the registry.


This functionality is supported only if you are using the Open Agent.


bExists = SYS_ExistsRegistryKey (rcCategory, sKeypath, sKeyname)
Variable Description
bExists True if the key exists, false otherwise. BOOLEAN.
rcCategory The constant for the root key from For example HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE. LONG.
sKeypath The path to the registry key. STRING.
sKeyname The name of the registry key. STRING.


Use the include file to be able to reference key values.