Carbon


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
);
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.

function result

A pointer to the plug-in's IUnknown interface.

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 CarbonLib 1.1 and later when CoreFoundationLib 1.1 or later is installed. Exported by CarbonLib 1.1 and later and by CoreFoundationLib 1.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)