test win_api