Bug fix when WinApi function has no parameters, added HasReturn for Winapi