added code to ZWin32