L_DicomPrintSCUUpdateFilmBox

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomPrintSCUUpdateFilmBox(hPrintSCU, pParameters, pszRefPresLUTInstanceUID)

Parameters

HDICOMPRINTSCU hPrintSCU

A handle to Dicom Print SCU.

const pFILMBOXPARAMETERS pParameters

Film Box parameters to be updated.

const L_TCHAR *pszRefPresLUTInstanceUID

Referenced Presentation LUT.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

There must be a Film Box currently created before using this function.

The function will not return until it receives the response of the Print SCP, or an error occurs. L_DicomPrintSCUGetLastOperationStatus can be used to obtain the status code specified in the response of the Print SCP. When the return value of the function UpdateFilmBox is 0, then the Film Box was updated successfully, with either a Success or Warning status code in the response of the Print SCP.

The parameter pParameters points to a FILMBOXPARAMETERS structure that specifies the Film Box parameters to be updated. In this structure, if a string member is NULL, then the corresponding attribute will not be included in the request to the Print SCP and hence will not be updated. Similarly, if a numeric member (that specifies an attribute) is negative, the corresponding attribute will not be included in the request and hence will not be updated. Notice that not all the parameters that can be specified when creating the Film Box can be updated; the function will ignore the following members of the structure:

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

Help Version 20.0.2019.9.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help