| HRESULT IAccPlugin::Init | ( | [in] IAccSession * | session, | |
| [in] IAccPluginInfo * | pluginInfo | |||
| ) |
In the call, the application is started and the plugin is being initialized. The plugin should perform initialization and save the passed-in IAccSession. The plugin may register commands it supports using its IAccPluginInfo object. The plugin should not make any assumptions about the state of the session at this point in time.
| HRESULT IAccPlugin::Shutdown | ( | ) |
The converse to the Init() call. Shutdown() tells the plugin that the application is either shutting down, or that the user has disabled the plugin. The plugin must release all references to AIMCC objects and clean up.