LDicomPrintSCU::GetLastOperationStatus

#include "ltdic.h"

L_UINT16 LDicomPrintSCU::GetLastOperationStatus() const

Returns the status code specified in the response of the Print SCP.

Returns

The status code returned in the response of the Print SCP to the last operation requested on an SOP Class.

Comments

Status codes are grouped by the Print Management Service Class into Success, Warning, and Failure categories. For some of the possible status codes, refer to Status Constants.

When a member function of the LDicomPrintSCU class 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:

image\sqrblit.gif If the function that made the request returned DICOM_ERROR_PRINTSCU_FAILURE_STATUS, then the status code returned by GetLastOperationStatus is a Failure code.

image\sqrblit.gif 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.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

Class Members

Topics:

Print Management SCU

 

DICOM Print Management Service Class User: Functions

Example

For an example, refer to LDicomPrintSCU::OnStatus.