Declare callback as WINAPI calling convention (does nothing on other platforms)