RegisterPlugin receives a string that contains the full path and name of the plugin to be registered. RegisterPlugin dynamically allocates memory for CPLUGIN with the new operator, and returns a pointer to it (it also registers the CPLUGIN into an internal list, but you don't need to know about that). The function prototype is:
CPLUGIN* RegisterPlugin(LPSTR fname);
Flag | Explanation |
fname | the name and path of the plugin that is to be loaded |
Returns - returns a pointer to the CPLUGIN which has just allocated with the new operator.
Back.