All Manuals > LispWorks® User Guide and Reference Manual > 49 The Windows registry API

close-registry-key Function

Summary

Closes a handle to an open registry key.

Package

win32

Signature

close-registry-key handle &key errorp => successp, error-code

Arguments
handle
A handle to an open registry key.
errorp
A generalized boolean.
Values
successp
A boolean.
error-code
An integer error code or nil.
Description

The function close-registry-key closes handle, which should be an open registry key handle.

The return value on success is t.

If an error occurs and errorp is true then an error is signaled. Otherwise, the return values are nil and the Windows error-code. The default value of errorp is t.

See also

create-registry-key
open-registry-key


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:09