Please enable JavaScript to view this site.

A-Shell Consolidated Reference

xcall MIAMEX, MX_REGISTRY, REGOP_ENUMKEYS, hkey, subkey, index, status

This is used to list the subkeys of the opened key.

Parameters

hkey  [in]

must be set as in opcode 3 (Set)

subkey (String)  [out]

will return the subkey name.

index (Num)  [in]

should be set to 0 for the first subkey, and incremented for each subsequent subkey. There is no particular order to the subkeys, so do not put any special significance on index.

status (F,6)  [out]

0 for success, else error code. Error 259 indicates that there are no more keys to enumerate.