<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _CreateWindowsPathResolver( self, file_system, mount_point, environment_variables):
 """Create a Windows path resolver and sets the environment variables. Args: file_system (dfvfs.FileSystem):
 file system. mount_point (dfvfs.PathSpec):
 mount point path specification. environment_variables (list[EnvironmentVariableArtifact]):
 environment variables. Returns: dfvfs.WindowsPathResolver: Windows path resolver. """

    if environment_variables is None:
      environment_variables = []

    path_resolver = windows_path_resolver.WindowsPathResolver(
        file_system, mount_point)

    for environment_variable in environment_variables:
      name = environment_variable.name.lower()
      if name not in ('systemroot', 'userprofile'):
        continue

      path_resolver.SetEnvironmentVariable(
          environment_variable.name, environment_variable.value)

    return path_resolver