OSI/MHS P7 Application Programmatic Interface (P7 API) Manual

Procedure Calls
OSI/MHS P7 Application Programmatic Interface (P7 API) Manual424825-001
3-6
LOS_DT_FINISH_RESULT_
application. You should call this procedure when the file number returned from
AWAITIOX is that of the result file.
status returned value
long int
indicates the outcome of the call. A value of 0 indicates a successful call. For
additional values, see Appendix B, “Return Codes.
resultFileNum input
int
specifies the file number on which AWAITIOX has reported completion. This file
number is allocated by the call to LOS_OPEN_ .
bufferPtr input, output
extptr long int *
On input, bufferPtr specifies the address of the buffer returned from a call to
AWAITIOX.
On output, bufferPtr contains the data received from OSI/MHS. That data can have
one of several forms. It can be:
The result or error from the MSBIND, which is structured like the user data in
an Application Control Service Element A-Associate Response Application
Protocol Data Unit (ACSE AARE-APDU) as if ACSE were being used.
The result or error of the specified submission or retrieval argument which is a
Remote Operations Invoke Application Protocol Data Unit (ROIV-APDU),
which would be contained in the P-DATA if Presentation Layer Services were
being used. It contains one of the following arguments:
SUMMARIZE operation
SUMMARIZE result or error
LIST operation
LIST result or error
FETCH operation
FETCH result or error
DELETE operation
DELETE result or error
status = LOS_DT_FINISH_RESULT_ ( resultFileNum,
bufferPtr,
bufferLen,
maxBufferLen,
dataType,
moreData);