L_DicomSetCalled

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSetCalled(hPDU, pszName)

HDICOMPDU hPDU;

/* a DICOM Associate handle */

L_TCHAR * pszName;

/* name of the called Application Entity to set*/

Sets the name of the called Application Entity in the specified DICOM Associate.

Parameter

Description

hPDU

A DICOM Associate handle.

pszName

Character string that contains the name of the called 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

Platforms

Win32, x64

See Also

Functions:

L_DicomGetCalled, L_DicomGetCalling, L_DicomSetCalling

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomGetCalled.