IPluginBase

Basic interface to a Plug-in component. - [plug imp] - initialize/terminate the 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.

Members

Functions

initialize
tresult initialize(FUnknown context)

The host passes a number of interfaces as context to initialize the Plug-in class. @note Extensive memory allocations etc. should be performed in this method rather than in the class' constructor! If the method does NOT return kResultOk, the object is released immediately. In this case terminate is not called!

terminate
tresult terminate()

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.

Static variables

iid
TUID iid;
Undocumented in source.

Inherited Members

From IUnknown

queryInterface
tresult queryInterface(const(TUID) _iid, void** obj)
Undocumented in source.
addRef
uint addRef()
Undocumented in source.
release
uint release()
Undocumented in source.

Meta