windows-nt/Source/XPSP1/NT/base/mvdm/wow16/write/editdefs.h
2020-09-26 16:20:57 +08:00

53 lines
1.3 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/************************************************************/
/* Windows Write, Copyright 1985-1992 Microsoft Corporation */
/************************************************************/
#define ipcdNil -1 /* Error return from IpcdSplit */
#define cpcdChunk 5
#define cpcdInit 5
#define cpcdMaxIncr 10
#define dcpAvgWord 10
#define dcpAvgSent 100
#include "prmdefs.h"
struct PCD
{
typeCP cpMin;
unsigned fNoParaLast : 1;
unsigned fn : 15;
typeFC fc;
struct PRM prm;
};
#define cwPCD (sizeof (struct PCD) / sizeof (int))
#define cbPCD (sizeof (struct PCD))
#define bcpPCD 0
struct PCTB
{
unsigned ipcdMax;
unsigned ipcdMac;
struct PCD rgpcd[cpcdInit];
};
#define cwPCTBInit (sizeof (struct PCTB) / sizeof (int))
#define cbPCTBInit (sizeof (struct PCTB))
struct UAB
{ /* UNDO Action Block */
int uac; /* UNDO Action Code (see cmddefs.h) */
int doc;
typeCP cp;
typeCP dcp;
int doc2;
typeCP cp2;
typeCP dcp2;
short itxb;
};
struct PCD *PpcdFromCp();