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

NextPrevUpTopContentsIndex

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.

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 signalled. 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 - 21 Dec 2011

NextPrevUpTopContentsIndex