L_DicomPrintSCUCreatePresentationLUT

Syntax

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomPrintSCUCreatePresentationLUT(hPrintSCU, pPresentationLUT, pszPresentationLUTShape)

Parameters

HDICOMPRINTSCU hPrintSCU

A handle to Dicom Print SCU.

HDICOMDS pPresentationLUT

presentation LUT.

const L_TCHAR *pszPresentationLUTShape

Presentation LUT Shape.

Returns

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

Comments

The function will not return until it receives the response of the Print SCP, or an error occurs. The function 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 CreatePresentationLUT is 0, then the Presentation LUT was created successfully, with either a Success or Warning status code in the response of the Print SCP.

The function can be used to create one or more Presentation LUTs. Having a Presentation LUT created, the function L_DicomPrintSCUGetPresentationLUTInstanceUID can be used to obtain its SOP Instance UID, which in turn can be used to reference the Presentation LUT from Film Boxes and Grayscale Image Boxes. Refer to the functions L_DicomPrintSCUCreateFilmBox, L_DicomPrintSCUUpdateFilmBox, and L_DicomPrintSCUUpdateImageBox.

The Print SCP can be requested to delete an existing Presentation LUT SOP Instance using the function L_DicomPrintSCUDeletePresentationLUT.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomPrintSCUUpdateImageBox.

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

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.