enum-registry-value subkey index &key root max-name-size max-buffer-size expected-type errorp => name, data-type, data, error-code
A string specifying the name of the key.
An integer.
A keyword or handle.
An integer.
An integer.
A keyword or t
.
A boolean.
The function enum-registry-value
allows the values of subkey under the key root to be enumerated.
subkey and root are interpreted as described for create-registry-key. The default value of root is :user
.
index specifies which value to return, with 0 being the first item.
max-name-size specifies the maximum length of the returned name. If the name is longer than this, an error is signaled. The default value of max-name-size is 256.
max-buffer-size specifies the maximum length in bytes of the value. The value is longer than this, an error is signaled. The default value of max-buffer-size is 1024.
If the value exists (that is, index is not too large), then the return values are the name, data type and data associated with the value in the registry. The argument expected-type controls how certain data types are converted to Lisp objects as follows:
The default value of expected-type is t
.
If an error occurs and errorp is true, then an error is signaled. Otherwise, the return values are nil
, nil
, nil
and the Windows error-code. The default value of errorp is t.
LispWorks User Guide and Reference Manual - 20 Sep 2017