LDicomAssociate::SetImplementVersion

Summary

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

Syntax

#include "ltdic.h"

L_INT LDicomAssociate::SetImplementVersion(bEnabled, pszVersion)

Parameters

L_BOOL bEnabled

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

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

L_TCHAR * pszVersion

Character string that contains the new Implementation Version. This parameter cannot exceed PDU_MAX_VERSION_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 Version is enabled, you can get the Implementation Version by calling LDicomAssociate::GetImplementVersion.

To determine whether the Implementation Version can be set, call LDicomAssociate::IsImplementVersion.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomAssociate::IsImplementVersion.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.