Is this page helpful?

In this page

L_DicomGetVersion

Summary

Returns the version of the specified DICOM Associate.

Syntax

#include "ltdic.h"

L_LTDIC_API L_UINT16 L_DicomGetVersion(hPDU)

Parameters

HDICOMPDU hPDU

A DICOM Associate handle.

Returns

The version of the specified DICOM Associate.

Comments

The default value is 1.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

Copied to clipboard
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 Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2025 Apryse Sofware Corp. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2025 Apryse Sofware Corp. All Rights Reserved.