Compiler Warning (level 1) C4276

'fucntion' : no prototype provided; assumed no parameters

When taking the address of a function with the __stdcall calling convention, you need to give a prototype so the compiler can create the function’s decorated name. Since function had no prototype, the compiler is assuming it has no parameters when creating the decorated name.