Runs code with an open registry key handle.
win32
with-registry-key (handle subkey &key root access errorp) &body body => values
handle⇩ |
A variable name. |
subkey⇩ |
A string specifying the name of the key. |
root⇩ |
A keyword or handle. |
access⇩ |
An integer or keyword. |
errorp⇩ |
A boolean. |
body⇩ |
Lisp forms. |
values |
The values returned by body. |
The macro with-registry-key
evaluates body with the variable handle bound to the registry key handle opened as if by calling:
(open-registry-key subkey :root root :access access :errorp errorp)
subkey, root and access are interpreted as described for create-registry-key.
If errorp is nil
and subkey cannot be opened then body is not evaluated.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:09