xcall MIAMEX, MX_REGISTRY, REGOP_ENUMVALS, hkey, name, index, type, value, status
This is used to list the named values for the opened key.
Parameters
hkey [in]
must be set as in opcode 3 (Set)
index (Num) [in]
should be set to 0 for the first value, and incremented for each subsequent value. There is no particular order to the values, so do not put any special significance on index.
name (String) [out]
will return the value name corresponding to index.
type (Num) [out]
will return the type of the value (see types under Set).
value (type depends on type) [out]
will return the value of the named item. See Read for notes on how to map it to support multiple types.
status (F6) [out]
0 for success, else error code. Error 259 indicates that there are no more values to enumerate.