Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomAssociate::SetImplementVersion

Show in webframe

#include "ltdic.h"

L_INT LDicomAssociate::SetImplementVersion(bEnabled, pszVersion)

L_BOOL bEnabled;

/* flag that indicates whether to enable setting the implementation version */

L_TCHAR * pszVersion;

/* the new version */

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

Parameter

Description

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.

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

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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomAssociate::IsImplementVersion, LDicomAssociate::GetImplementVersion

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to LDicomAssociate::IsImplementVersion.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.