dciAddInstance returns one of the following values:
DCI_SUCCESS
The DCIReturn structure has been written
to the output buffer.
DCI_SYSERROR
A internal error has occurred
(such as a shortage of resources) that may be beyond the control of the
application.
DCI_NOTINITIALIZED
The DCI subsystem is not
currently initialized.
DCI_INVALIDARG
One of the input arguments
is invalid. For example, a negative value was used for numIds or
bufferSize, the methodList could not be read, or data could
not be written to bufferAddress.