Function

CFPlugInRegisterFactoryFunction

Registers a factory function and its UUID with a CFPlugIn object.

Declaration

Boolean CFPlugInRegisterFactoryFunction(CFUUIDRef factoryUUID, CFPlugInFactoryFunction func);

Parameters

factoryUUID

The CFUUID object representing the factory function to register.

func

The factory function pointer to register.

Return Value

true if the factory function was successfully registered, otherwise false.

Discussion

This function is used by a plug-in or host when performing dynamic registration.

See Also

Registration

CFPlugInRegisterFactoryFunctionByName

Registers a factory function with a CFPlugIn object using the function's name instead of its UUID.

CFPlugInRegisterPlugInType

Registers a type and its corresponding factory function with a CFPlugIn object.

CFPlugInUnregisterFactory

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

CFPlugInUnregisterPlugInType

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