CFPlugInInstanceCreate

Header: CFPlugIn.h Carbon status: Under Evaluation

Creates a CFPlugIn instance for the specified type using the specified factory.

void *CFPlugInInstanceCreate (
    CFAllocatorRef allocator, 
    CFStringRef factoryName, 
    CFStringRef typeName
);
Parameter descriptions
allocator

The allocator to use. Pass null or kCFAllocatorDefault to use the default allocator.

factoryName

The UUID of the factory function you wish to use to create an instance of the specified type.

typeName

The UUID of the type you wish to instantiate.

DISCUSSION

The plug-in host uses this function to create an instance of the specified type. Unless the plug-in is using dynamic registration, this function causes the plug-in's code to be loaded into memory.

AVAILABILITY

Under evaluation for Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1CarbonLib 1.1 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)