docs: def list_keys(hive, key=None, use_32bit_registry=False):
      '''
      Enumerates the subkeys in a registry key or hive.
  
      Args:
  
          hive (str):
              The name of the hive. Can be one of the following:
  
                  - HKEY_LOCAL_MACHINE or HKLM
                  - HKEY_CURRENT_USER or HKCU
                  - HKEY_USER or HKU
                  - HKEY_CLASSES_ROOT or HKCR
                  - HKEY_CURRENT_CONFIG or HKCC
  
          key (str):
              The key (looks like a path) to the value name. If a key is not
              passed, the keys under the hive will be returned.
  
          use_32bit_registry (bool):
              Accesses the 32bit portion of the registry on 64 bit installations.
              On 32bit machines this is ignored.
  
      Returns:
          list: A list of keys/subkeys under the hive or key.
  
      CLI Example:
  
          .. code-block:: bash
  
              salt '*' reg.list_keys HKLM 'SOFTWARE'
      '''
      return __utils__['reg.list_keys'](hive=hive,
                                        key=key,
                                        use_32bit_registry=use_32bit_registry)