|
|
Microsoft OS/2 SDK 03-01-1988
/*
* This is a common include file used by examples REGISTER, ACCESS, and
* REPLACE (found in VIOSUB.C).
* It contains the declaration of the shared memory segment.
*
* Copyright (C) Microsoft Corp. 1988
*/
/* size of shared memory segment */
#define SHRSEGSIZE sizeof(struct ShareRec)
#define SHRSEGNAME "\\SHAREMEM\\SHARESEG.DAT" /* shared seg name */
#define WAITFOREVER -1L /* no timeout if semaphore is owned */
struct ShareRec {
unsigned long updated; /* buffer access semaphore */
unsigned long mutexsem; /* buffer access semaphore */
int count; /* buffer write pointer */
int totalength;
};
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.