User`s guide

2: DDCMP DLI Functions
DC 900-1343D 37
2.4.1 DLI Optional Arguments
Section 2.5 and Section 2.6 describe the dlWrite and dlRead functions for a DDCMP
application. Both functions use the optional arguments parameter to provide the pro-
tocol-specific information required for Raw operation (Section 2.1.2). The “C” defini-
tion of the optional arguments structure is shown in Figure 2–3.
Section 2.2 on page 28 described how to use the DLI in the DDCMP environment. The
required
dlWrite optional arguments fields for a DDCMP client application are shown
in Table 2–5. The relevant DDCMP
dlRead optional arguments are shown in Table 2–6.
typedef struct _DLI_OPT_ARGS
{
unsigned short usFWPacketType;
unsigned short usFWCommand;
unsigned short usFWStatus;
unsigned short usICPClientID;
unsigned short usICPServerID;
unsigned short usICPCommand;
short iICPStatus;
unsigned short usICPParms[3];
unsigned short usProtCommand;
short iProtModifier;
unsigned short usProtLinkID;
unsigned short usProtCircuitID;
unsigned short usProtSessionID;
unsigned short usProtSequence;
unsigned short usProtXParms[2];
} DLI_OPT_ARGS;
Figure 2–3: “C” Definition of DLI Optional Arguments Structure