LEADTOOLS DICOM C DLL Help > Function References > L_DicomSetCalling |
#include "ltdic.h"
L_LTDIC_API L_INT L_DicomSetCalling(hPDU, pszName)
HDICOMPDU hPDU; |
/* a DICOM Associate handle */ |
L_TCHAR * 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 the 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
DICOM_SUCCESS |
The function was successful. |
>0 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64, Linux.
See Also
Functions: |
|
Topics: |
Example
For an example, refer to L_DicomGetCalled.