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

NextPrevUpTopContentsIndex

delete-registry-key

Function
Summary

Deletes a registry key.

Package

win32

Signature

delete-registry-key subkey &key root errorp => successp, error-code

Arguments

subkey

A string specifying the name of the key.

root

A keyword or handle.

errorp

A generalized boolean.

Values

successp

A boolean.

error-code

An integer error code or nil.

Description

The function delete-registry-key deletes the registry key named subkey under the parent key root.

subkey and root are interpreted as described for create-registry-key. The default value of root is :user.

The value t is returned if the key is deleted successfully.

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


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex