L_DicomGetCalled

#include "ltdic.h"

L_CHAR * EXT_FUNCTION L_DicomGetCalled(hPDU)

HDICOMPDU hPDU;

/* a DICOM Associate handle */

Returns the name of the Application Entity that was called.

Parameter

Description

hPDU

A DICOM Associate handle.

Returns

The name of the Application Entity that was called.

Comments

For more information on the structure of an Associate, refer to LEADTOOLS DICOM Network Communication Support for Message Exchange.

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_DicomSetCalled, L_DicomGetCalling, L_DicomSetCalling

Topics:

Working with DICOM Associate Connections

Example

L_VOID Test(HDICOMPDU hPDU)
{
   /* set called application title */
   L_DicomSetCalled(hPDU, "Called Program");
   /* set calling application title */
   L_DicomSetCalling(hPDU, "Calling Program");
   /* display the current values */
   MessageBox(NULL, L_DicomGetCalled(hPDU), "Test", MB_OK);
   MessageBox(NULL, L_DicomGetCalling(hPDU), "Test", MB_OK);
}