LDicomAssociate::SetVersion

#include "ltdic.h"

L_INT LDicomAssociate::SetVersion(nVersion)

L_UINT16 nVersion;

/* version number to set */

Sets the version of the DICOM Associate.

Parameter

Description

nVersion

The version number to set.

Returns

0

SUCCESS

>0

An error occurred. Refer to Return Codes.

Comments

The default version number is 1.

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

See Also

Functions:

LDicomAssociate::GetVersion

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to LDicomAssociate::GetVersion.