Enum Registry Keys VI

Owning Palette: Windows Registry Access VIs

Requires: Base Development System (Windows)

Enumerates subkeys of the specified key or subkey.

Use the Enum Registry Keys VI with the Query Registry Key Info VI.

Caution  Incorrectly modifying the registry can damage Windows or prevent you from starting Windows.

 Add to the block diagram  Find on the palette
refnum is a handle to the open key.
subkey info is a is a set of parameters describing the subkey associated with refnum.
numSubKeys is the number of subkeys under the key specified by hKey.
maxSubKeyLen is the length of the longest subkey name under the key specified by hKey.
maxSubKeyClassLen is the length of the longest class name under the key specified by hKey.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out is a handle to the open key.
subkeys is an array of the names of all subkeys of the specified key.
error out contains error information. This output provides standard error out functionality.