Problem is, apparently there is an error in my typedef above. The compiler returns: error C2059: syntax error : '__stdcall'. I used the handy ...
stackoverflow.com