Closes a key to the Registration Database.
RegCloseKey(handle)
(i) handle handle to a registration database key.
(i) @TRUE Database was closed; @FALSE Close failed.
The RegCloseKey function closes a key to the Registration Database. The key is opened or created with the RegOpenKey or the RegCreateKey functions. Registration Database changes made using a key are saved when the key is closed.
key=RegOpenKey(@REGCLASSES, "txtfile") b=RegQueryStr(key, "shell\open\command") RegCloseKey(key) Message("Default textfile editor is", b)
RegOpenKey, RegCreateKey, RegSetValue, RegQueryValue, and the section on Registration Database Operations