Enables or disables Asynchronous Operation support. It also sets the number of operations that can be invoked if enabled.
L_LTDIC_API L_INT L_DicomSetAsyncOperations(hPDU, bEnabled, nInvoked, nPerformed)
A DICOM Associate handle.
Flag that indicates whether to enable or disable Asynchronous Operations. Possible values are:
|TRUE||Enable Asynchronous Operations.|
|FALSE||Disable Asynchronous Operations.|
The number of operations (messages) that can be sent without a response.
The number of Asynchronous Operations performed.
|DICOM_SUCCESS||The function was successful.|
|>0||An error occurred. Refer to Return Codes.|
If a DICOM Associate connection does not support Asynchronous Operations, then an Application Entity must wait for the response from one message before sending another. If Asynchronous Operations are supported, multiple messages may be sent without waiting for a response. The number of messages that may be sent is set using L_DicomSetAsyncOperations.
To determine the number of Asynchronous Operations that may be invoked without a response, call L_DicomGetInvokedOperations. To determine the number of operations that have been completed, call L_DicomGetPerformedOperations.
Win32, x64, Linux.
For an example, refer to L_DicomIsAsyncOperations.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries