L_LTDIC_API L_UINT16 L_DicomPrintSCUGetLastOperationStatus(hPrintSCU)
A handle to Dicom Print SCU.
The status code returned in the response of the Print SCP to the last operation requested on an SOP Class.
Status codes are grouped by the Print Management Service Class into Success, Warning, and Failure categories. For some possible status codes, refer to Status Constants.
When a function of L_DicomPrintSCUXXX requests the Print SCP to perform an operation on a SOP Class, the Print SCP is supposed to specify a status code in its response to the request. This function returns the status code specified by the Print SCP. The category of the status code can be determined as follows:
If the function that made the request returned DICOM_ERROR_PRINTSCU_FAILURE_STATUS, then the status code returned by GetLastOperationStatus is a Failure code.
If the function that made the request returned DICOM_SUCCESS, then the status code returned by GetLastOperationStatus is a Warning code if it is not COMMAND_STATUS_SUCCESS.
Win32, x64, Linux.
For an example, refer to PRINTSCUSTATUSCALLBACK.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries