code: def _get_cached_mounted_points():
      
      result = []
      try:
          # Open the registry key for mounted devices
          mounted_devices_key = winreg.OpenKey(
              winreg.HKEY_LOCAL_MACHINE, "SYSTEM\\MountedDevices"
          )
          for v in _iter_vals(mounted_devices_key):
              # Valid entries have the following format: \DosDevices\D:
              if "DosDevices" not in v[0]:
                  continue
  
              volume_string = v[1].decode("utf-16le", "ignore")
              if not _is_mbed_volume(volume_string):
                  continue
  
              mount_point_match = re.match(".*\\\\(.:)$", v[0])
  
              if not mount_point_match:
                  logger.debug("Invalid disk pattern for entry %s, skipping", v[0])
                  continue
  
              mount_point = mount_point_match.group(1)
  
              result.append({"mount_point": mount_point, "volume_string": volume_string})
      except OSError:
          logger.error('Failed to open "MountedDevices" in registry')
  
      return result
docs: ! Get the volumes present on the system
      @return List of mount points and their associated target id
        Ex. [{ 'mount_point': 'D:', 'target_id_usb_id': 'xxxx'}, ...]