Original Post
I Found this code on the internet but having trouble understanding it: typedef void (* mFunctionPointer)( void * lpUserData ); I Think it declares a pointer to a function type. But can someone give me some examples of situations where a variable of this type might be used. Are there any other ways of achieving the same results, if so what are the pros and cons of those alternatives?