Lists a key's sub keys.
The key's list of sub keys, or "" if no sub keys were found or there was an error.
The Value parameter is treated as a boolean option. Setting Value to 1 will return the sub keys as complete path strings. Setting Value to 0 will return only the sub keys' names. The default is 0.
If the service returns "", then an error may have occurred. In this event, the Error parameter can be one of the following messages:
|""||There was no error. The key was found but has no sub keys.|
|"Failed to open key"||The key could not be opened.|
The LISTKEYS service generates a dynamic array of all sub keys within a given key. The sub keys are @FM delimited and in no particular order. The format of the keys depends on the Value parameter. Set it to one to get a list of the full key paths:
Set the Value parameter to 0 or leave it unassigned to get only the sub key names:
If this service returns "", then use the Error property to determine whether the list is empty due to an error or to the fact that the key has no values.
Us the LISTVALUES service to get a key's values.