Dynamic Plugins - GetPlugin()

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. The function prototype:

CPLUGIN* GetPlugin(LPSTR pName);

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

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

Back.