LDicomAssociate::SetImplementClass

Summary

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

Syntax

#include "ltdic.h"

L_INT LDicomAssociate::SetImplementClass(bEnabled, pszUID)

Parameters

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
0 SUCCESS
>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 LDicomAssociate::GetImplementClass.

To determine whether the Implementation Class can be set, call LDicomAssociate::IsImplementClass.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomAssociate::IsImplementClass.

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

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