code: def load():
      
      if 'Windows' == platform.system():
          # Possible scenarios here
          #   1. Run from source, DLLs are in pyzbar directory
          #       cdll.LoadLibrary() imports DLLs in repo root directory
          #   2. Wheel install into CPython installation
          #       cdll.LoadLibrary() imports DLLs in package directory
          #   3. Wheel install into virtualenv
          #       cdll.LoadLibrary() imports DLLs in package directory
          #   4. Frozen
          #       cdll.LoadLibrary() imports DLLs alongside executable
          fname, dependencies = _windows_fnames()
  
          def load_objects(directory):
              # Load dependencies before loading libzbar dll
              deps = [
                  cdll.LoadLibrary(str(directory.joinpath(dep)))
                  for dep in dependencies
              ]
              libzbar = cdll.LoadLibrary(str(directory.joinpath(fname)))
              return deps, libzbar
  
          try:
              dependencies, libzbar = load_objects(Path(''))
          except OSError:
              dependencies, libzbar = load_objects(Path(__file__).parent)
      else:
          # Assume a shared library on the path
          path = find_library('zbar')
          if not path:
              raise ImportError('Unable to find zbar shared library')
          libzbar = cdll.LoadLibrary(path)
          dependencies = []
  
      return libzbar, dependencies
docs: Loads the libzar shared library and its dependencies.