File:  [OS/2 SDKs] / os232sdk / toolkt20 / c / samples / semaph / sem_pnt.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:26:30 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1990, HEAD
Microsoft OS/2 SDK 2.0 05-30-1990

#define UNOWNED  -1
#define NUMUSERS 8
#define MAXUSERS 16
#define CNT_SQUARES_EDGE    8
#define MAXRESOURCES        (CNT_SQUARES_EDGE*CNT_SQUARES_EDGE)
#define CNT_POINTS_EDGE (CNT_SQUARES_EDGE+1)
#define DIRTY   1
#define CNT_SZHITS  5
typedef struct _sq {           /* square */
    RECTL  rcl;
    HEV    hev;
    USHORT usOwner;
    } SQ;

extern SQ aSquares[MAXRESOURCES] ;
extern USHORT   cNumUsers;
extern ULONG clrBackground;
extern ULONG clrForeground;
extern LONG aX [9];
extern LONG aY [9];
extern LONG colors[MAXUSERS];
extern LONG clrText[MAXUSERS];


unix.superglobalmegacorp.com

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