registry-descendents


Synopsis

(registry-descendents <key>)

Description

Stringlist of subkeys.

Returns a list of a registry subkeys, all registry key "descendents", but not the values.

This is the same as (vl[x]-registry-descendents key) without the second argument.

The counterpart to (vl[x]-registry-descendents key T) is (registry-values key)

Example

(registry-descendents 
(strcat "HKEY_CURRENT_USER\\" (registry-acad-product-key)
"\\Profiles\\myprofile") => ("Toolbars" "Project Settings" "Menus" "General Configuration" "General" "Editor Configuration" "Drawing Window" "Command Line Windows")

Valid <key> string arguments for every registry-xxx function should start with one of the following strings:

HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_CONFIG

registry-descendants is the same as the according Vital Lisp 3 function (vlx-registry-descendents) and undocumented Visual Lisp function (vl-registry-descendents) - but without optional arguments.

Note

The Windows registry is a central OS database which is easily and fast accessed, but it's hard to copy entries to other systems.

Arguments

key: A string naming the specific registry subtree and key. Case-dependant

Return Value

A list of strings on success, NIL otherwise.

Side Effects

None.

Module

(std-require 'REGISTRY)

Defined in REGISTRY