enum-registry-value subkey index &key root max-name-size max-buffer-size expected-type errorp => name, data-type, data, error-code
DescriptionThe 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:
Conversion of registry values to Lisp objectsString made with read-from-string
String, exactly as in the registry
String, exactly as in the registry
String, environment variables expanded
A newly allocated foreign object
Vector, element type (unsigned-byte 8)
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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4