Indicates whether the specified connection has been activated. This function is available in the PACS Imaging Toolkit.
#include "ltdic.h"
L_LTDIC_API L_BOOL L_DicomIsActivated(hNet)
A DICOM Network handle. This is the handle created by calling L_DicomCreateNet.
Value | Meaning |
---|---|
TRUE | The specified connection has been activated. |
FALSE | The specified connection has not been activated. |
A connection is activated by calling L_DicomListen, L_DicomConnect, or L_DicomAccept. Therefore, if any of these functions have been called for the connection, this function will return TRUE. Otherwise it will return FALSE.
Win32, x64, Linux.
This example displays the activation status of a connection
L_INT DicomIsActivatedExample(HDICOMNET hNet)
{
if (L_DicomIsActivated(hNet) != FALSE)
MessageBox(NULL, TEXT("activated"), TEXT("Notice"), MB_OK);
else
MessageBox(NULL, TEXT("deactivated"), TEXT("Notice"), 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