code: def RecurseKeys(self):
      
      yield self
      for subkey in self.GetSubkeys():
        for key in subkey.RecurseKeys():
          yield key
docs: Recurses the subkeys starting with the key.
  
      Yields:
        WinRegistryKey: Windows Registry key.