File:  [WindowsNT SDKs] / mstools / samples / comm / readme
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:20:59 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-jun-1992, HEAD
Microsoft Windows NT Build 297 06-28-1992

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.



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.