Function pointer typedefs. http://www.newty.de/fpt/index.html pFactory and pCleanup are pointers, and they store the result (a function pointer) returned by calling GetProcAddress().
If the typedef was not used, what would the second part look like?
Pretty ugly.
Edit:
Just for clarification: PLUGIN_FACTORY can store the address of a function which looks like: IPlugin functionName() {}
Thank you very much for the quick replies. And thank you again Cubbi for the actual translation. Looks like I don’t understand pointers as well as I thought I did. I’m still a little bit confused, but at least I can compare and try to break it down further until it starts making sense.
Thanks again.
P.S. Thanks for the link Catfish2. It’s very helpful!