I’m learning how to dynamically load DLL’s but what I don’t understand is this line
typedef void (*FunctionFunc)();
I have a few questions. If someone is able to answer them I would be grateful.
- Why is
typedef
used? - The syntax looks odd; after
void
should there not be a function name or something? It looks like an anonymous function. - Is a function pointer created to store the memory address of a function?
So I’m confused at the moment; can you clarify things for me?