.. highlightlang:: us .. index:: GetProfileInt_Policy .. _getprofileint_policy: GetProfileInt_Policy ==================== .. us.tag GetProfileInt_Policy NOTREADYENGLISH uniplot-registry New340 :ref:`GetProfileInt_Policy` retrieves an integer from the specified section in the Windows registry. .. function:: rsVal = GetProfileInt_Policy(ssSection, ssKey, rsDefault) .. us.return **Return Value** *rsVal* is a scalar integer number to be read from the specified registry entry. .. us.params **Parameters** .. uparam:: ssSection *ssSection* specifies the section containing the key name. The name of the section is case-independent; .. uparam:: ssKey *ssKey* is the key name of the associated string is to be retrieved. .. uparam:: rsDefault *rsDefault* is a default value. If the key cannot be found in the initialization file or the Windows registry, :ref:`GetProfileInt` returns the default value. .. us.comment **Comment** The function reads the key ``HKEY_CURRENT_USER\Software\Policies\RSB\UniPlot5``. If this fails it reads the key ``HKEY_CURRENT_USER\Software\RSB\UniPlot5``. .. seealso:: :ref:`overview-files`, :ref:`GetProfileString_Policy`, :ref:`GetProfileString`, :ref:`GetProfileInt` :sub:`id-1154208`