CFPlugInUnloadFunction |
||||
Header: | CFPlugIn.h | Carbon status: | Under Evaluation | |
Defines a pointer to a plug-in's unload callback function. Callback function that a plug-in author may implement. If present and registered, this function will be called just before a plug-in's code is unloaded.
typedef void(* CFPlugInUnloadFunction) ( CFPlugInRef plugIn );
You would declare your function like this if you were to name it MyCallback:
void MyCallback ( CFPlugInRef plugIn );
A reference to the plug-in that is about to be unloaded from memory. When writing in C++, this paramter functions as a this pointer for the plug-in.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)