working on implementing the system-call with Windows API