User`s guide

3: Programming Using the DLITE Embedded Interface
DC 900-1516D 45
Note
The DLI_POLL_TRACE_STORE poll request is not supported by
DLITE.
Cancel Processing using
dlPoll (DLI_POLL_READ_CANCEL and
DLI_POLL_WRITE_CANCEL) is performed differently. The change should be transpar-
ent to existing applications. New applications can optionally take advantage of this
change.
A request to cancel reads or writes (dlPoll request cancel read/write) cancels all
outstanding reads or writes for the session at the time the request is received. In
the Freeway DLI, these were cancelled individually, with the buffer pointer and
OptArgs pointer returned for each request.
Cancelled I/O is considered as completed. If a user has five read requests queued
and performs a read cancel, a poll would show five reads completed.
Cancelled I/O is returned as previously; each request is returned (with buffer
pointer and
OptArgs pointer) with each poll requesting the cancel, until all are
typedef struct _DLI_ICP_DRV_INFO
{
unsigned long Node; /* Node assigned */
unsigned long DeviceNumber; /* Device Number (ICP) */
unsigned long NumberOfPorts; /* Number of ports on ICP */
unsigned long BufferAlignment; /* Byte alignment requirement */
unsigned long NumberOfChans; /* Number of Channels */
unsigned char Version[DLI_MAX_STRING + 1];
/* Driver version string. */
} DLI_ICP_DRV_INFO;
typedef DLI_ICP_DRV_INFO *PDLI_ICP_DRV_INFO;
#define DLI_ICP_DRV_INFO_SIZE sizeof(DLI_ICP_DRV_INFO)
Figure 33: DLI_ICP_DRV_INFO C Structure