L_DicomSetImplementClass

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSetImplementClass(hPDU, bEnabled, pszUID)

Enables or disables setting the Implementation Class. It also sets the Implementation Class if enabled.

Parameters

HDICOMPDU hPDU

A DICOM Associate handle.

L_BOOL bEnabled

Flag that indicates whether to enable or disable setting the Implementation Class. Possible values are:

Value Meaning
TRUE Enable setting the Implementation Class.
FALSE Disable setting the Implementation Class.

L_TCHAR * pszUID

Character string that contains the new name for the Implementation Class. This parameter cannot exceed PDU_MAX_UID_SIZE + 1, including the null character at the end.

Returns

Value Meaning
DICOM_SUCCESS The function was successful.
>0 An error occurred. Refer to Return Codes.

Comments

If setting the Implementation Class is enabled, you can get the name of the Implementation Class by calling L_DicomGetImplementClass.

To determine whether the Implementation Class can be set, call L_DicomIsImplementClass.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

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

LEADTOOLS DICOM C API Help