Determines whether setting the Implementation Version is enabled for the DICOM Associate.
#include "ltdic.h"
L_BOOL LDicomAssociate::IsImplementVersion(L_VOID)
Value | Meaning |
---|---|
TRUE | Setting the Implementation Version is enabled. |
FALSE | Setting the Implementation Version is disabled. |
If setting the Implementation Version is enabled, the name may be retrieved using LDicomAssociate::GetImplementVersion, or set using LDicomAssociate::SetImplementVersion.
Win32, x64
L_INT LDicomAssociate_IsImplementVersionExample(LDicomAssociate *m_pDicomAssociate)
{
L_INT nRet;
CString strMsg;
L_TCHAR szImplementVersion[PDU_MAX_VERSION_SIZE+1];
//...Assume associate object has been created
if (m_pDicomAssociate->IsImplementVersion())
{
//disable it and display old value
m_pDicomAssociate->GetImplementVersion(szImplementVersion, PDU_MAX_VERSION_SIZE+1);
nRet = m_pDicomAssociate->SetImplementVersion( FALSE, szImplementVersion);
strMsg = TEXT("ImplementVersion Disabled: \n");
strMsg += szImplementVersion;
AfxMessageBox(strMsg);
}
else
{
//enable it
nRet = m_pDicomAssociate->SetImplementVersion( TRUE, TEXT("v13.0"));
m_pDicomAssociate->GetImplementVersion(szImplementVersion, PDU_MAX_VERSION_SIZE+1);
strMsg = TEXT("ImplementVersion Enabled: \n") ;
strMsg += szImplementVersion;
AfxMessageBox(strMsg);
}
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