Added win32 api