.. highlightlang:: us .. index:: RegOpen .. _regopen: RegOpen ======= .. us.tag RegOpen ENGLISH Registry New300 Changed5200 Changed5513 Opens a registry key. .. function:: bool = RegOpen(ssSubKey) bool = RegOpen(ssSubKey, options) .. us.return **Return Value** *bool* is nonzero if key was successfully opened, otherwise 0. .. us.params **Parameters** .. uparam:: ssSubKey Name of key to open. .. uparam:: options *options* is 0x0200 (KEY_WOW64_32KEY) or 0x0100 (KEY_WOW64_64KEY). This parameter is optional. Default value depends on the bit value of uniplot.exe. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2013.13 - Behavior of 5.20.0 removed, instead 2. parameter *options* added. * - 5.20.0 - Under 64-bit-Windows the functions first tries to open the key in the 64-bit registry hive. If that fails it tries to open the key in the 32-bit registry hive. * - 5.3.0 - Bug (ID1218)::ref:`RegOpen` failed for elements in the registry where the user had only read access rights because UniPlot tried to open the key with read and write access. Now these keys will be opened with read access only. .. seealso:: :ref:`overview-application-object`, :ref:`RegCreate`, :ref:`RegSetValue` :sub:`id-1314839`