Basic interface to a Plug-in component. More...
#include <ipluginbase.h>
Public Member Functions | |
virtual tresult | initialize (FUnknown *context)=0 |
The host passes a number of interfaces as context to initialize the Plug-in class. | |
virtual tresult | terminate ()=0 |
This function is called before the Plug-in is unloaded and can be used for cleanups. | |
Static Public Attributes | |
static const FUID | iid |
Basic interface to a Plug-in component.
The host uses this interface to initialize and to terminate the Plug-in component. The context that is passed to the initialize method contains any interface to the host that the Plug-in will need to work. These interfaces can vary from category to category. A list of supported host context interfaces should be included in the documentation of a specific category.
The host passes a number of interfaces as context to initialize the Plug-in class.
virtual tresult terminate | ( | ) | [pure virtual] |
This function is called before the Plug-in is unloaded and can be used for cleanups.
You have to release all references to any host application interfaces.