code: def disable_inheritance(path, objectType, copy=True):
      '''
      Disable inheritance on an object
  
      Args:
          path: The path to the object
          objectType: The type of object (FILE, DIRECTORY, REGISTRY)
          copy: True will copy the Inherited ACEs to the DACL before disabling inheritance
  
      Returns (dict): A dictionary containing the results
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'minion-id' win_dacl.disable_inheritance c:\temp directory
      '''
      dc = daclConstants()
      objectType = dc.getObjectTypeBit(objectType)
      path = dc.processPath(path, objectType)
  
      return _set_dacl_inheritance(path, objectType, False, copy, Nonef disable_inheritance(path, objectType, copy=True):
      '''
      Disable inheritance on an object
  
      Args:
          path: The path to the object
          objectType: The type of object (FILE, DIRECTORY, REGISTRY)
          copy: True will copy the Inherited ACEs to the DACL before disabling inheritance
  
      Returns (dict): A dictionary containing the results
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'minion-id' win_dacl.disable_inheritance c:\temp directory
      '''
      dc = daclConstants()
      objectType = dc.getObjectTypeBit(objectType)
      path = dc.processPath(path, objectType)
  
      return _set_dacl_inheritance(path, objectType, False, copy, None)
docs: Disable inheritance on an object
  
      Args:
          path: The path to the object
          objectType: The type of object (FILE, DIRECTORY, REGISTRY)
          copy: True will copy the Inherited ACEs to the DACL before disabling inheritance
  
      Returns (dict): A dictionary containing the results
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'minion-id' win_dacl.disable_inheritance c:\temp directory