Cross platform : isolated Windows API calls