File:  [OS/2 SDKs] / pmsdk / samples / comtalk / global.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:17 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, HEAD
Microsoft OS/2 SDK PM 02-24-1989

/*
    global.h -- global type definitions and abbreviations
    Created by Microsoft Corporation, 1989
*/
typedef struct _COM { 			/* com */
	char	szPort[5];
	USHORT	usBaud;
	BYTE	bParity, bData, bStop;
	BOOL	fWrap;
	BOOL	fSoftware;
	BOOL	fHardware;
} COM; 

#define MAXLINELEN		80
typedef struct _LINEINFO	{	/* li */
	char szText[MAXLINELEN];
	USHORT cch;
	BOOL fComplete;
	BOOL fDrawn;
} LineInfo;
typedef LineInfo	far	*Line;

#define		Min(x,y)	(((x) < (y)) ? (x) : (y))
#define		Max(x,y)	(((x) > (y)) ? (x) : (y))

unix.superglobalmegacorp.com

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