L_DicomSendReleaseRequest

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSendReleaseRequest(hNet)

HDICOMNET hNet;

/* a DICOM Network handle */

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

Parameter

Description

hNet

A DICOM Network handle.

Returns

0

SUCCESS

>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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

L_DicomSendReleaseResponse, L_DicomSendAbort

Topics:

Working with DICOM Network Connections

 

Working with DICOM Associate Connections

 

Closing a DICOM Associate Connection

 

Creating a DICOM Associate Connection

 

Sending Messages

Example

This example sends a Release Request message to a connection

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