L_DicomSetVersion

#include "ltdic.h"

L_INT EXT_FUNCTION L_DicomSetVersion(hPDU, nVersion)

HDICOMPDU hPDU;

/* a DICOM Associate handle*/

L_UINT16 nVersion;

/* version number to set */

Sets the version of the specified DICOM Associate.

Parameter

Description

hPDU

A DICOM Associate handle.

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:

L_DicomGetVersion

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomGetVersion.