windows: Use WINAPI call convention for Windows API callbacks