#include "ltdic.h"
L_LTDIC_API L_UINT16 L_DicomGetVersion(hPDU)
HDICOMPDU hPDU; |
a DICOM Associate handle |
Returns the version of the specified DICOM Associate.
Parameter |
Description |
hPDU |
A DICOM Associate handle. |
The version of the specified DICOM Associate.
The default value is 1.
Required DLLs and Libraries
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, Linux.
Functions: |
|
Topics: |
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;
}
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