---
title: "CFPlugInUnregisterPlugInType(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfpluginunregisterplugintype(_:_:)"
---

# CFPlugInUnregisterPlugInType(_:_:)

Removes the given type from a plug-in’s list of registered types.

## Declaration

```swift
func CFPlugInUnregisterPlugInType(_ factoryUUID: CFUUID!, _ typeUUID: CFUUID!) -> Bool
```

## Parameters

- `factoryUUID`: The CFUUID object representing the factory function for the type to unregister.
- `typeUUID`: The UUID type 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)
- [CFPlugInUnregisterFactory(_:)](corefoundation/cfpluginunregisterfactory(_:).md)
