HP NonStop G-Series User Manual
Page 120

Tandem DDE Gateway Dictionary Structure
Extending the Tandem DDE Gateway
8–18
110838 Tandem Computers Incorporated
All string fields are terminated with a byte of binary zeros.
Note
The Tandem DDE Gateway Browser provides some code generation capabilities.
Caution
The structure of the Tandem DDE Gateway Dictionary may change from release to release. Data
elements in the structures will not likely be removed, or their size altered, but new data elements may be
added at the end of the structures.
tagDdeDictHeader
Structure
There is one record with this structure at the start of the Tandem DDE Gateway
Dictionary.
Structure
struct tagDdeDictHeader
{
char
cNullChar;
char
szDdeDictFileCode[17];
unsigned long
ulDdeDictVersion;
unsigned int
uApplicationNameSpecified;
char
cFiller[110];
};
Data Elements
cNullChar
Always binary zero
szDdeDictFileCode
Always TDM!DDEDICT.DIC
ulDdeDictVersion
Currently 2
uApplicationNameSpecified
Zero = No application prefix was specified when the
Bridge was executed.
Non-zero = An application prefix was specified
when the Bridge was executed.
cFiller
Always binary zeros.
tagDdeDictElementData Structure
There are many records of this type sorted by element name (szElement).
Structure
#define TDMGW_MAX_ELEMENT_STRLEN 100
#define TDMGW_DDEDICT_CFLAG_C_STRINGS 0x00000001L
struct tagDdeDictElementData {
unsigned long ulUserMessageFlag;
unsigned long ulUserElementFlag;
unsigned long ulConversionFlag;
unsigned int uOffset;
unsigned int uLength;