Returns the DICOM Associate handle for the specified DICOM Network handle. This function is available in the PACS Imaging Toolkit.
#include "ltdic.h"
L_LTDIC_API HDICOMPDU L_DicomGetAssociate(hNet)
A DICOM Network handle.
The DICOM Associate handle associated with the specified DICOM Network handle.
A DICOM Association must be established between an SCU and an SCP before any DICOM messages or data can be transmitted between them. For more information on creating a DICOM Association, refer to Creating a DICOM Association.
When the DICOM Association is no longer needed, it should be ended. For more information, refer to Closing a DICOM Associate Connection.
Win32, x64, Linux.
This example displays the called Application Entity Title of the associated connection
L_INT DicomGetAssociateExample(HDICOMNET hNet)
{
HDICOMPDU hAssociate;
L_TCHAR szCalled[PDU_MAX_TITLE_SIZE+1];
hAssociate = L_DicomGetAssociate(hNet);
if(hAssociate)
{
L_DicomGetCalled(hAssociate, szCalled, PDU_MAX_TITLE_SIZE+1);
MessageBox(NULL, szCalled, TEXT("Notice"), MB_OK);
return DICOM_SUCCESS;
}
return DICOM_ERROR_PARAMETER;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document