L_DicomSendReleaseRequest

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSendReleaseRequest(hNet)

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

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help