vl-registry-descendents

AutoCad AutoLISP Functions

 
vl-registry-descendents
 
 
 

Returns a list of subkeys or value names for the specified registry key

(vl-registry-descendents reg-key [val-names])

Arguments

reg-key

A string specifying a Windows registry key.

val-names

A string containing the values for the reg-key entry.

If val-names is supplied and is not nil, the specified value names will be listed from the registry. If val-name is absent or nil, the function displays all subkeys of reg-key.

Return Values

A list of strings, if successful; otherwise nil.

Examples

_$ (vl-registry-descendents
"HKEY_LOCAL_MACHINE\\SOFTWARE")
("Description"  "Program Groups" "ORACLE" "ODBC" "Netscape" "Microsoft")
See Also