Replaced __stdcall with __cdecl.