Returns the version of the specified DICOM Associate.
#include "ltdic.h"
L_LTDIC_API L_UINT16 L_DicomGetVersion(hPDU)
A DICOM Associate handle.
The version of the specified DICOM Associate.
The default value is 1.
Win32, x64, Linux.
L_INT DicomGetVersionExample(HDICOMPDU hPDU)
{
L_TCHAR szText[10];
L_INT nRet;
wsprintf(szText, TEXT("%d"), L_DicomGetVersion(hPDU));
MessageBox(NULL, szText, TEXT("Test"), MB_OK);
/* set the version */
nRet = L_DicomSetVersion(hPDU, 99);
if (nRet != DICOM_SUCCESS)
return nRet;
wsprintf(szText, TEXT("%d"), L_DicomGetVersion(hPDU));
MessageBox(NULL, szText, TEXT("Test"), MB_OK);
return DICOM_SUCCESS;
}
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