Index of /cica9308/UNZIPPED/NT/TTY32

      Name                    Last modified       Size  Description

[DIR] Parent Directory 06-Dec-2005 04:15 - [TXT] MAKEFILE 16-Oct-1992 11:45 1k [TXT] RESOURCE.H 16-Oct-1992 11:45 2k [IMG] TTY.BMP 16-Oct-1992 11:45 2k [TXT] TTY.C 16-Oct-1992 11:45 75k [TXT] TTY.DEF 16-Oct-1992 11:45 1k [TXT] TTY.H 16-Oct-1992 11:45 7k [IMG] TTY.ICO 16-Oct-1992 11:45 1k [TXT] TTY.RC 16-Oct-1992 11:45 6k [TXT] VERSION.H 16-Oct-1992 11:45 1k

Sample: Communications API Function Demonstration

Summary:

The COMM sample application is designed to demonstrate the
basics of using the Win32 communications API functions while
maintaining a common code base with Win16 code.

More Information:

The COMM program performs communications using the Windows
functions OpenFile, ReadFile, SetCommState, SetCommMask,
WaitCommEvent, WriteFile and CloseFile.

This sample creates a background thread to watch for COMM
receiver events and posts a notification message to the main
terminal window.  Foreground character processing is written
to the communications port.

Simple TTY character translation is performed and a screen
buffer is implemented for use as the I/O window.

Overlapped file I/O techniques are demonstrated.

How To Use:

The baud rate, data bits, stop bits, parity, port, RTS/CTS
handshaking, DTR/DSR handshaking, and XON/XOFF handshaking
can be changed under the Settings menu item.

Once the communications settings are setup, the Action menu
item can be selected to connect or disconnect the TTY
program.