text output using win32API