#include "ltdic.h"
L_BOOL LDicomAssociate::IsImplementVersion(L_VOID)
Determines whether setting the Implementation Version is enabled for the DICOM Associate.
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.
Required DLLs and Libraries
LTDIC 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
Functions: |
LDicomAssociate::GetImplementVersion, LDicomAssociate::SetImplementVersion |
Topics: |
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;
}
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