#include "ltdic.h"
L_LTDIC_API L_INT L_DicomSetApplication(hPDU, pszUID)
HDICOMPDU hPDU; |
a DICOM Associate handle |
L_TCHAR * pszUID; |
Application Context to set |
Sets the Application Context of the specified DICOM Associate.
Parameter |
Description |
hPDU |
A DICOM Associate handle. |
pszUID |
Character string that contains the new Application Context to set. This parameter cannot exceed PDU_MAX_UID_SIZE + 1, including the null character at the end. |
DICOM_SUCCESS |
The function was successful. |
>0 |
An error occurred. Refer to Return Codes. |
The default value for the Application Context is "1.2.840.10008.3.1.1.1" (UID_APPLICATION_CONTEXT_NAME).
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET