L_DicomSendReleaseRequest

Summary

Sends a Release Request message to a connection. This function is available in the PACS Imaging Toolkit.

Syntax

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSendReleaseRequest(hNet)

Parameters

HDICOMNET hNet

A DICOM Network handle.

Returns

Value Meaning
DICOM_SUCCESS The function was successful.
>0 An error occurred. Refer to Return Codes.

Comments

Calling L_DicomSendReleaseRequest generates a call to RECEIVERELEASEREQUESTCALLBACK on the server. The server will call L_DicomSendReleaseResponse which will generate a call to RECEIVERELEASERESPONSECALLBACK on the client. At this time the DICOM Association may be closed. For more information, refer to Ending a DICOM Association.

Please note that this method of closing a DICOM Association is preferable to just calling L_DicomSendAbort.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

This example sends a Release Request message to a connection

L_INT DicomSendReleaseRequestExample(HDICOMNET hNet) 
{ 
   return L_DicomSendReleaseRequest(hNet); 
} 

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.