Function

CFPlugInCreate

Creates a CFPlugIn given its URL.

Declaration

CFPlugInRef CFPlugInCreate(CFAllocatorRef allocator, CFURLRef plugInURL);

Parameters

allocator

The allocator to use to allocate memory for the new plug-in. Pass NULL or kCFAllocatorDefault to use the default allocator.

plugInURL

The location of the plug-in.

Return Value

A new plug-in. Ownership follows the The Create Rule.

See Also

Creating Plug-ins

CFPlugInInstanceCreate

Creates a CFPlugIn instance of a given type using a given factory.