use stdcall alias to prevent linking errors