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

29 lines
886 B
C
Raw Permalink 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 */
/************************************************************/
/*---------------------------------------------------------------------------
-- Structure: TXB
-- Description and Usage:
Describes a buffer.
Maps the name of a buffer to the associated text, which is stored in
docBuffer.
-- Fields:
hszName - pointer to a null terminated string in the heap which is
the name of this buffer.
cp - location in docBuffer
dcp - amount of interest in docBuffer
----------------------------------------------------------------------------*/
struct TXB
{
CHAR (**hszName)[];
typeCP cp;
typeCP dcp;
};
#define cbTxb (sizeof(struct TXB))
#define cwTxb (cbTxb / sizeof(int))
#define hszNil (0)
#define cidstrRsvd (2)