#include "ltdic.h"
L_LTDIC_API HDICOMPDU L_DicomGetAssociate(hNet)
Returns the DICOM Associate handle for the specified DICOM Network handle. This function is available in the PACS Imaging Toolkit.
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.
Required DLLs and Libraries
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.