Index of /cica9308/UNZIPPED/NT/TTY32
Name Last modified Size Description
Parent Directory 06-Dec-2005 04:15 -
MAKEFILE 16-Oct-1992 11:45 1k
RESOURCE.H 16-Oct-1992 11:45 2k
TTY.BMP 16-Oct-1992 11:45 2k
TTY.C 16-Oct-1992 11:45 75k
TTY.DEF 16-Oct-1992 11:45 1k
TTY.H 16-Oct-1992 11:45 7k
TTY.ICO 16-Oct-1992 11:45 1k
TTY.RC 16-Oct-1992 11:45 6k
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.