Dynamic Plugins - GetPlugin()

The function prototype:

CPLUGIN* GetPlugin(LPSTR pName);

pName  a string that contains the name of the plugin (not the DLL's name)

Rreturns - a pointer to the appropriate plugin or NULL if it could not be found.

GetPlugin receives a string that contains the name of the plugin, locates the appropriate CPLUGIN in the registry, and returns a pointer to it. This could be used to allow one plugin to use another.

Back