Added win32 apis.