working on win32 syscall