L_DicomSetCalling

#include "ltdic.h"

L_INT EXT_FUNCTION L_DicomSetCalling(hPDU, pszName)

HDICOMPDU hPDU;

/* a DICOM Associate handle */

L_CHAR * pszName;

/* name of the calling AE to set */

Sets the name of the calling Application Entity of the specified DICOM Associate.

Parameter

Description

hPDU

A DICOM Associate handle.

pszName

Character string that contains tha name of the calling Application Entity to set for the specified DICOM Associate. This parameter cannot exceed PDU_MAX_TITLE_SIZE + 1, including the null character at the end.

Returns

0

SUCCESS

>0

An error occurred. Refer to Return Codes.

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_DicomGetCalling, L_DicomGetCalled, L_DicomSetCalled

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomGetCalled.