CFPlugInInstance Reference

Derived from
Framework
CoreFoundation/CoreFoundation.h
Companion guide
Plug-ins
Declared in
CFPlugIn.h

Overview

CFPlugInInstance is deprecated. Use the functions defined by CFPlugIn instead.

Functions

CFPlugInInstanceCreateWithInstanceDataSize

Not recommended.

Not recommended

CFPlugInInstanceRef CFPlugInInstanceCreateWithInstanceDataSize (
   CFAllocatorRef allocator,
   CFIndex instanceDataSize,
   CFPlugInInstanceDeallocateInstanceDataFunction deallocateInstanceFunction,
   CFStringRef factoryName,
   CFPlugInInstanceGetInterfaceFunction getInterfaceFunction
);
Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h

CFPlugInInstanceGetFactoryName

Not recommended.

Not recommended

CFStringRef CFPlugInInstanceGetFactoryName (
   CFPlugInInstanceRef instance
);
Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h

CFPlugInInstanceGetInstanceData

Not recommended.

Not recommended

void * CFPlugInInstanceGetInstanceData (
   CFPlugInInstanceRef instance
);
Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h

CFPlugInInstanceGetInterfaceFunctionTable

Not recommended.

Not recommended

Boolean CFPlugInInstanceGetInterfaceFunctionTable (
   CFPlugInInstanceRef instance,
   CFStringRef interfaceName,
   void **ftbl
);
Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h

CFPlugInInstanceGetTypeID

Not recommended.

Not recommended

CFTypeID CFPlugInInstanceGetTypeID (
   void
);
Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h

Callbacks

CFPlugInInstanceDeallocateInstanceDataFunction

Not recommended.

Not recommended

typedef void (*CFPlugInInstanceDeallocateInstanceDataFunction) (
   void *instanceData
);

If you name your function MyCallBack, you would declare it like this:

void MyCallBack (
   void *instanceData
);

Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h

CFPlugInInstanceGetInterfaceFunction

Not recommended.

Not recommended

typedef Boolean (*CFPlugInInstanceGetInterfaceFunction) (
   CFPlugInInstanceRef instance,
   CFStringRef interfaceName,
   void **ftbl
);

If you name your function MyCallBack, you would declare it like this:

Boolean MyCallBack (
   CFPlugInInstanceRef instance,
   CFStringRef interfaceName,
   void **ftbl
);

Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h

Data Types

CFPlugInInstanceRef

Not recommended.

typedef struct __CFPlugInInstance *CFPlugInInstanceRef;
Availability
  • Available in iOS 2.0 and later.
Declared In
CFPlugIn.h