Fix more __stdcall issues. Move the __stdcall into the function typedefs