User`s guide

52 DC 900-1339H
FMP Programmer’s Guide
figure the link using the Link Configuration command). The link is restarted again by
issuing a Start Link command.
For blocking I/O a successful Stop Link command returns zero, but you must call
dlRead to receive the DLI_PROT_RESP_UNBIND_ACK response indicating the link is deacti-
vated. If you are using non-blocking I/O, you must also make a
dlRead request to read
the completion status.
An unsuccessful Stop Link command can return one of the following error codes in the
dlRead pOptArgs.iICPStatus field (see Appendix C for error handling):
DLI_ICP_ERR_BAD_MODE
The function request is not available for the requested
access mode; see Table 2–2 on page 33.
DLI_ICP_ERR_BAD_PARMS
The parameter value(s) used for the function call are
illegal.