---
title: "CFPlugInUnregisterFactory(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfpluginunregisterfactory(_:)"
---

# CFPlugInUnregisterFactory(_:)

Removes the given function from a plug-in’s list of registered factory functions.

## Declaration

```swift
func CFPlugInUnregisterFactory(_ factoryUUID: CFUUID!) -> Bool
```

## Parameters

- `factoryUUID`: The CFUUID object representing the factory to unregister.

## Return Value

Return Value true if the factory function was successfully unregistered, otherwise false.

## Discussion

Discussion Used by a plug-in or host when performing dynamic registration.

## See Also

### Registration

- [CFPlugInRegisterFactoryFunction(_:_:)](corefoundation/cfpluginregisterfactoryfunction(_:_:).md)
- [CFPlugInRegisterFactoryFunctionByName(_:_:_:)](corefoundation/cfpluginregisterfactoryfunctionbyname(_:_:_:).md)
- [CFPlugInRegisterPlugInType(_:_:)](corefoundation/cfpluginregisterplugintype(_:_:).md)
- [CFPlugInUnregisterPlugInType(_:_:)](corefoundation/cfpluginunregisterplugintype(_:_:).md)
