docs: def valuesToDict(key):
      """Convert a registry key's values to a dictionary."""
      d = {}
      size = _winreg.QueryInfoKey(key)[1]
      for i in xrange(size):
          d[_winreg.EnumValue(key, i)[0]] = _winreg.EnumValue(key, i)[1]
      return d