GetProfileString_PolicyΒΆ

GetProfileString_Policy retrieves a string from the specified section in the Windows registry.

ssString = GetProfileString_Policy(ssSection, ssKey, ssDefault)

Return Value

ssString is a scalar string to be read from the specified file. The string length is limited to 4095 characters.

Parameters

ssSection

ssSection specifies the section containing the key name. The name of the section is case-independent;

ssKey

ssKey is the key name of the associated string that is to be retrieved.

ssDefault

ssDefault is a default string. If the key cannot be found in the Windows registry, GetProfileString_Policy returns the default string.

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.

id-54310